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 731360 - Added Missing Null Checks.
Added Missing Null Checks.
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: 2014-06-07 11:55 UTC by Gaurav
Modified: 2014-07-14 13:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Added Some Missing Null Checks. (1.48 KB, patch)
2014-06-07 11:55 UTC, Gaurav
none Details | Review

Description Gaurav 2014-06-07 11:55:16 UTC
Created attachment 278082 [details] [review]
Added Some Missing Null Checks.

Added two null checks in SAX2.c
Adjusted one null check in HTMLparser.c.

Otherwise, there will be NULL Pointer dereferrence Problem.

Please apply attached patch.
Comment 1 Daniel Veillard 2014-07-14 13:03:52 UTC
Seems the patch had been commited to git already, though I noticed
a missing return in the given patch.
commited that last bit as a6ea72ad192f4209b5073e39358ce15f3f1dca4b

  thanks,

Daniel