After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316224 - xmlBuildRelativeURI crashes if uri is same as base and has no path info
xmlBuildRelativeURI crashes if uri is same as base and has no path info
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.21
Other Linux
: Normal minor
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-13 16:26 UTC by utblog
Modified: 2005-09-14 05:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description utblog 2005-09-13 16:26:47 UTC
e.g.
uri = "http://bugzilla.gnome.org";
base = uri;
xmlBuildRelativeURI(uri, base); //lead to crash here

Reason:
The path of uri/base is NULL, and xmlBuildRelativeURI will use the "path" to
compare whether uri is different with base. Then, memory accesss violation occurs.
Comment 1 William M. Brack 2005-09-14 05:25:59 UTC
Fixed in CVS - thanks for reporting this!

Bill