[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] for issue 1947 svn_path_uri_decode may copy garbage and overrun buffer when given partial % escape

From: Klaus Rennecke <kre_at_tigris.org>
Date: 2004-07-06 00:36:11 CEST

Patches are attached to the issue at

I cannot seem to add comments in the tracker, so here goes:

Check for end of string in the middle of a % escape in the input URL.

* subversion/libsvn_subr/path.c
  (svn_path_uri_decode): Check for premature end of string in escape.

* subversion/tests/libsvn_subr/path-test.c
  (test_uri_decode): New test function.
  (svn_test_descriptor_t): Added test_uri_decode.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 6 00:55:03 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.