commit | 473bcab760876c9e97efeb5f189164a8415c7925 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Fri Feb 12 16:36:20 2016 +0300 |
committer | Valentin Bartenev <vbart@nginx.com> | Fri Feb 12 16:36:20 2016 +0300 |
tree | 6bb1c7a1402cd0c3bda32799e1d7e1dd0e6e0bf6 | |
parent | a537a23e1a24b3f5f2a79b87702df90973a364a8 [diff] |
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).