bugfix: applied nginx's official security fix for an issue in the range filter (CVE-2017-7529).

This commit is contained in:
Yichun Zhang (agentzh)
2017-07-11 10:31:25 -07:00
parent 391709ce4d
commit 58f39e963f
3 changed files with 22 additions and 1 deletions

View File

@ -34,6 +34,13 @@ cd nginx-$ver || exit 1
# patch the patch
answer=`$root/util/ver-ge "$main_ver" 1.13.3`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the patch for nginx security advisory (CVE-2017-7529)"
patch -p0 < $root/patches/patch.2017.ranges.txt || exit 1
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.5.12`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the patch for nginx security advisory (CVE-2014-0133)"

View File

@ -1,7 +1,7 @@
#!/bin/bash
main_ver=1.11.2
minor_ver=3
minor_ver=4
version=$main_ver.$minor_ver
echo $version