]> git.kaiwu.me - nginx.git/commit
SPDY: fixed check for too long header name or value.
authorValentin Bartenev <vbart@nginx.com>
Fri, 7 Nov 2014 14:22:19 +0000 (17:22 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 7 Nov 2014 14:22:19 +0000 (17:22 +0300)
commit20d41493d428f123cc867590d693ef7e14a4ea11
tree9da5b54a4b2c9816247d5632513a3409d5fe2a85
parent42b6d57fb5dd55dc80dd17e03e0e584baa0aa64e
SPDY: fixed check for too long header name or value.

For further progress a new buffer must be at least two bytes larger than
the remaining unparsed data.  One more byte is needed for null-termination
and another one for further progress.  Otherwise inflate() fails with
Z_BUF_ERROR.
src/http/ngx_http_spdy.c