commit | aa28897b22f1e5f6c2345545099bf815232b6a7b | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Apr 30 19:16:49 2014 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Apr 30 19:16:49 2014 +0400 |
tree | 2f1091c38950d205546f1cc727b4a14b865b259d | |
parent | 60169aa3a1d2372c3806ad239d65a992d5230edb [diff] |
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).