commit | e3cf2229ad3ca563dbae80d0f2f37209fffddbe3 | [log] [tgz] |
---|---|---|
author | Hiroaki Nakamura <hnakamur@gmail.com> | Thu Apr 11 08:17:37 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 11 08:17:37 2013 +0200 |
tree | 16c9d7176649781c537be7c60a62fb6d80391393 | |
parent | f75d008c45c6e0e989825d381222cd3d978b01c8 [diff] |
BUG: regex: fix pcre compile error when using JIT According to "man pcreapi", pcre_compile() does not accept being passed a NULL pointer in errptr or erroffset. It immediately returns NULL, causing any expression to fail. So let's pass real variables and make use of them to improve error reporting.