]> git.kaiwu.me - nginx.git/commit
Avoid left-shifting integers into the sign bit, which is undefined.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 7 Jul 2016 18:02:28 +0000 (21:02 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 7 Jul 2016 18:02:28 +0000 (21:02 +0300)
commit6299f5e9149483251bbbcc8ad26cf29b6109e75c
tree43339ffe7b9e30b4865f13176be7588ce1378a30
parent678991a8f6b4eff4c7e5a5ee308378c2f1e327b7
Avoid left-shifting integers into the sign bit, which is undefined.

Found with UndefinedBehaviorSanitizer.
src/core/ngx_string.c
src/http/modules/ngx_http_log_module.c
src/http/modules/ngx_http_userid_filter_module.c
src/http/ngx_http_parse.c