aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2015-02-24 18:37:14 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2015-02-24 18:37:14 +0300
commit7dd799357d7fd853b488b52ae17f9d0ee3142941 (patch)
tree565c6519980a400dc6ba7dd66479b0ed4ad75b93 /src/os/unix/ngx_freebsd.h
parenta4ce770a89f12924a61a5cd2ee6a862648fe0203 (diff)
downloadnginx-7dd799357d7fd853b488b52ae17f9d0ee3142941.tar.gz
nginx-7dd799357d7fd853b488b52ae17f9d0ee3142941.zip
Core: fixed potential buffer overrun when initializing hash.
Initial size as calculated from the number of elements may be bigger than max_size. If this happens, make sure to set size to max_size. Reported by Chris West.
Diffstat (limited to 'src/os/unix/ngx_freebsd.h')
0 files changed, 0 insertions, 0 deletions