Mercurial > hg > nginx
diff conf/win-utf @ 8163:77d5c662f3d9
Fixed segfault if regex studies list allocation fails.
The rcf->studies list is unconditionally accessed by ngx_regex_cleanup(),
and this used to cause NULL pointer dereference if allocation
failed. Fix is to set cleanup handler only when allocation succeeds.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 18 Apr 2023 06:28:46 +0300 |
parents | 63a820b0bc6c |
children |