GNOME Bugzilla – Bug 147259
gnome_vfs_uri_resolve_relative segfaults on 64bit arches
Last modified: 2004-12-22 21:47:04 UTC
See http://bugs.debian.org/240480 In gnome-vfs-uri.c, make_full_uri_from_relative includes a double cast (char * -> int -> gchar *) that segfaults on 64bit arches, where pointers and int are not the same. Patch follows.
Created attachment 29403 [details] [review] Fix for gnomeVFS 2.6.1.1
Adding the PATCH and 'portability' keywords.
Looks fine, feel free to commit. Any specific reason for changing the gchar* to a char* ?
Well, there was no real reason for tmp to be a gchar*. separator is a char* and strrchr returns a char*. I don't think that matters much, anyway.
The fix is in cvs now.