mirror of https://github.com/OISF/suricata
Fix pcre_study error check
pcre_study returning NULL is not necessarily an error, from the man page pcre_study(3): "If the function returns NULL, either it could not find any additional information, or there was an error. You can tell the difference by looking at the error value. It is NULL in first case." Older libpcre versions would return NULL, causing errors.pull/638/head
parent
c6a8d0ab6b
commit
9a42f621f5
Loading…
Reference in New Issue