Potential NULL pointer dereference in xmlregexp.c

Shaobo He via xml <[email protected]> Mon, 4 Mar 2019 19:37:53 +0000
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <CAMePyd_c1RZai4tfU1wg4iuwrOfo2+X+5VbxfvnncLF3fnKhOg@mail.gmail.com>
Hello everyone,

I'm Shaobo He, a graduate student at University of Utah. I'm running a
static analysis tool on libxml2 and noticed there may be a NULL pointer
dereference in function `xmlRegexpIsDeterminist`. Basically, function
`xmlNewAutomata` can return a NULL pointer when malloc fails. Please let me
know if it makes sense or not.

Thanks,
Shaobo

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml