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

[PATCH] Fix SIGSEGV in svn_path_is_uri_safe

From: magnus stahre <ms_at_xy.org>
Date: 2003-08-05 23:48:54 CEST

Hello.

I found a bug introduced in r6638:

$ svn co http://localhost
zsh: segmentation fault (core dumped) svn co http://localhost

Gdb shows:

Program received signal SIGSEGV, Segmentation fault.
0x7109b in svn_path_is_uri_safe (path=0x92a40 "http://localhost")
    at subversion/libsvn_subr/path.c:813
813 for (i = 0; path[i]; i++)

Log:

* subversion/libsvn_subr/path.c
  (svn_path_is_uri_safe): Don't iterate through slashes if there are no.

-ms

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Aug 5 23:51:20 2003

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.