comparison src/http/ngx_http_file_cache.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 4821fc788c12
children 9fd738b85fad
comparison
equal deleted inserted replaced
6395:ba3c2ca21aa5 6396:dcfe355dfda4