Skip to content

Commit 38dc363

Browse files
committed
nginx: apply the resolver_del_event_invalid_read patch to nginx 1.7.5+ by default.
1 parent 3713f02 commit 38dc363

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ngx-build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,10 @@ sub apply_patches {
401401
shell("patch -p1 < $root/../ngx_openresty/patches/nginx-$version-geoip_init_var_fields.patch");
402402
chdir ".." or die "cannot switch to ..\n";
403403
}
404+
405+
chdir "nginx-$version" or die "cannot switch to nginx-$version\n";
406+
shell("patch -p1 < $root/../ngx_openresty/patches/nginx-$version-resolver_del_event_invalid_read.patch");
407+
chdir ".." or die "cannot switch to ..\n";
404408
}
405409

406410
sub usage {

0 commit comments

Comments
 (0)