Mercurial > hg > nginx
diff src/core/ngx_hash.c @ 6245:3cf25d33886a
Core: fixed segfault with null in wildcard hash names.
A configuration like
server { server_name .foo^@; }
server { server_name .foo; }
resulted in a segmentation fault during construction of server names hash.
Reported by Markus Linnala.
Found with afl-fuzz.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 11 Sep 2015 17:04:40 +0300 |
parents | 3b6d69857de2 |
children | 7fc16ff7ddc4 |
line wrap: on
line diff