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 733710 - Add couple of missing Null checks.
Add couple of missing Null checks.
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: 2014-07-25 05:16 UTC by Gaurav
Modified: 2014-07-26 20:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add couple of missing Null checks. (872 bytes, patch)
2014-07-25 05:16 UTC, Gaurav
none Details | Review

Description Gaurav 2014-07-25 05:16:56 UTC
Created attachment 281655 [details] [review]
Add couple of missing Null checks.

NUll checks are necessary as they may lead to crash at some point.

Please add attached patch.
Comment 1 Daniel Veillard 2014-07-26 20:42:58 UTC
Actually the two patches were wrong as they would lead to a leak, so
I commited slightly different ones,

  thanks !

Daniel