Re: [xml] Potential NULL pointer dereference in xmlregexp.c

2019-03-05 Thread Nick Wellnhofer
On 04/03/2019 20:37, Shaobo He via xml wrote: 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 p

[xml] Potential NULL pointer dereference in xmlregexp.c

2019-03-04 Thread Shaobo He via xml
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