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 707749 - NULL pointer dereferenced in xmlregexp.c
NULL pointer dereferenced in xmlregexp.c
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2013-09-09 08:08 UTC by Gaurav
Modified: 2013-09-11 07:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes for Null pointer dereference. (1.05 KB, patch)
2013-09-09 08:08 UTC, Gaurav
none Details | Review

Description Gaurav 2013-09-09 08:08:01 UTC
Created attachment 254447 [details] [review]
Fixes for Null pointer dereference.

Found some potential Null pointers being dereferenced.
The parameters when compared against NULL, means they are NULL in false condition.
But, In false condition if it is dereferenced, it will crash.

Attached patch fixes such issues at 3 places.
Comment 1 Daniel Veillard 2013-09-11 07:01:26 UTC
Looks good, pushed,

https://git.gnome.org/browse/libxml2/commit/?id=2671b013d88b381d8a9139ef85381234aafc5ce0

thanks !

Daniel