comparison src/http/ngx_http_request_body.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 02abce4764b7
children 3b9fe734a76c
comparison
equal deleted inserted replaced
6395:ba3c2ca21aa5 6396:dcfe355dfda4