Mercurial > hg > nginx
diff src/core/ngx_inet.c @ 5681:56ad171c3dd1
Core: improved ngx_conf_parse() error handling.
Previous code failed to properly restore cf->conf_file in case of
ngx_close_file() errors, potentially resulting in double free of
cf->conf_file->buffer->start.
Found by Coverity (CID 1087507).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 30 Apr 2014 19:16:49 +0400 |
parents | d39ef821d03e |
children | 550212836c8f |