aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2015-10-19 21:28:17 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2015-10-19 21:28:17 +0300
commitcc74c63d39fb644ae819f7ced19c03fa12cdec97 (patch)
tree5b34bfe777f80949e5e0d522d00b9b44e776d387 /src/core/nginx.c
parentb9e0b9df446afa8a84d839bcf90b43d6504fc413 (diff)
downloadnginx-cc74c63d39fb644ae819f7ced19c03fa12cdec97.tar.gz
nginx-cc74c63d39fb644ae819f7ced19c03fa12cdec97.zip
Fixed variables prefix comparison.
Variable names are not null-terminated, so using ngx_strncmp() without extra length checks is wrong. Reported by Markus Linnala, http://mailman.nginx.org/pipermail/nginx-devel/2015-August/007211.html.
Diffstat (limited to 'src/core/nginx.c')
0 files changed, 0 insertions, 0 deletions