Mercurial > hg > nginx
comparison src/stream/ngx_stream_upstream.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 | cf5e822cf470 |
children | 78fc2dce69e7 |
comparison
equal
deleted
inserted
replaced
6395:ba3c2ca21aa5 | 6396:dcfe355dfda4 |
---|