]> git.kaiwu.me - nginx.git/commit
Core: ngx_regex_compile() error handling fixes.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 8 Sep 2014 17:35:53 +0000 (21:35 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 8 Sep 2014 17:35:53 +0000 (21:35 +0400)
commitc5bee22d167486537ed9f36941dc4e0abdef1fce
treee897012e973f4120c25dd61cec685f92453afccd
parent2af7181b3bb5b4bd84ca448f300c6aaf3dff4681
Core: ngx_regex_compile() error handling fixes.

Now we actually return NGX_ERROR on errors, and provide an error
string for memory allocation errors.

Reported by Markus Linnala.
src/core/ngx_regex.c