]> git.kaiwu.me - nginx.git/commit
HTTP/2: fixed a segfault while processing unbuffered upload.
authorValentin Bartenev <vbart@nginx.com>
Thu, 16 Jun 2016 17:55:11 +0000 (20:55 +0300)
committerValentin Bartenev <vbart@nginx.com>
Thu, 16 Jun 2016 17:55:11 +0000 (20:55 +0300)
commita70e415ea39c903f4c387e35faa71e2ac29a8e3c
treec7b65b27136ae3bb4f117448354fd1c207f8e23e
parenta650907c17145c5fbbb3167a224de746f9b65233
HTTP/2: fixed a segfault while processing unbuffered upload.

The ngx_http_v2_finalize_connection() closes current stream, but that is an
invalid operation while processing unbuffered upload.  This results in access
to already freed memory, since the upstream module sets a cleanup handler that
also finalizes the request.
src/http/v2/ngx_http_v2.c