mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
security: applied the null-character-fixes patch from the mainstream. The bug did result in a disclosure of previously freed memory if upstream server returned specially crafted response, potentially exposing sensitive information.
This commit is contained in:
@ -57,6 +57,9 @@ patch -p1 < $root/patches/nginx-$main_ver-allow_request_body_updating.patch || e
|
||||
|
||||
patch -p1 < $root/patches/nginx-$main_ver-log_escape_non_ascii.patch || exit 1
|
||||
|
||||
echo "INFO: applying null-character-fixes patch"
|
||||
patch -p0 < $root/patches/nginx-$main_ver-null-character-fixes.patch || exit 1
|
||||
|
||||
#patch -p1 < $root/patches/nginx-$main_ver-gzip_ok_invalid_read_fix.patch || exit 1
|
||||
|
||||
rm -f *.patch || exit 1
|
||||
|
Reference in New Issue
Block a user