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 755857 - Fix for Null pointer dereference in parser.c
Fix for Null pointer dereference in parser.c
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal major
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-30 08:21 UTC by Gaurav
Modified: 2015-09-30 12:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix Null Pointer dereference in parser.c (1.06 KB, patch)
2015-09-30 08:21 UTC, Gaurav
none Details | Review

Description Gaurav 2015-09-30 08:21:25 UTC
Created attachment 312401 [details] [review]
Fix Null Pointer dereference in parser.c

After having been compared to NULL value at parser.c:13364, pointer 'oldctxt' is dereferenced at parser.c:13382
Comment 1 Daniel Veillard 2015-09-30 12:51:41 UTC
Okay, that makes sense, 

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

  thanks !

Daniel