Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_slice_filter_module.c @ 6396:dcfe355dfda4
HTTP/2: fixed undefined behavior in ngx_http_v2_huff_encode().
When the "pending" value is zero, the "buf" will be right shifted
by the width of its type, which results in undefined behavior.
Found by Coverity (CID 1352150).
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 12 Feb 2016 16:36:20 +0300 |
parents | 4f0f4f02c98f |
children | d16ba0ea3434 |