comparison conf/mime.types @ 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 3f0ab7b6cd71
children 28fbf78841dc
comparison
equal deleted inserted replaced
8162:252a7acd35ce 8163:77d5c662f3d9