]> 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)
commit6dfbc8b1c2116f362bb871efebbf9df576738e89
treed2f906c1e019ecd29c9e2fa437f8082b693053ed
parentabe660636c93315b4acb8531b83aec8d309d2eca
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