]> git.kaiwu.me - nginx.git/commit
HTTP/2: reject zero length headers with PROTOCOL_ERROR.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 13 Aug 2019 12:43:32 +0000 (15:43 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Tue, 13 Aug 2019 12:43:32 +0000 (15:43 +0300)
commitdbdd9ffea81d9db46fb88b5eba828f2ad080d388
tree14878bdffcbc4a4db5c7e2319ad3317d6f5fd8e6
parenteb5a4e9a7e9a5aa10d10911a160dff8b26d382fb
HTTP/2: reject zero length headers with PROTOCOL_ERROR.

Fixed uncontrolled memory growth if peer sends a stream of
headers with a 0-length header name and 0-length header value.
Fix is to reject headers with zero name length.
src/http/v2/ngx_http_v2.c