GNOME Bugzilla – Bug 729851
Avoid Double Null Check
Last modified: 2014-05-09 08:54:33 UTC
Created attachment 276210 [details] [review] Avoid Double check in xmlregexp.c In file: https://git.gnome.org/browse/libxml2/tree/xmlregexp.c if (atom == NULL) return(NULL); atom->data = data; if (atom == NULL) return(NULL); There is NULL check two times. This will report error of possible Null pointer dereference. Attach patch removes double NULL check.
Okay fixed with upstream cleanup commit 41b0d1c4e53dcec2a0206df4bedaad0f81234319 thanks ! Daniel