]> git.kaiwu.me - nginx.git/commit
Fixed ETag memory allocation error handling.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 8 Sep 2014 17:36:03 +0000 (21:36 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 8 Sep 2014 17:36:03 +0000 (21:36 +0400)
commit90df702bf86e4d9a9a2f319743598bc7aa1f8f57
tree20104d9186d929be93ce43240559241efdd429fc
parentc5bee22d167486537ed9f36941dc4e0abdef1fce
Fixed ETag memory allocation error handling.

The etag->hash must be set to 0 to avoid an empty ETag header being
returned with the 500 Internal Server Error page after the memory
allocation failure.

Reported by Markus Linnala.
src/http/ngx_http_core_module.c