Fixed name length bug

- Fixed a length bug that would ocure when the socket name was not zero
terminated.
This commit is contained in:
Odin Hultgren Van Der Horst
2022-01-20 23:39:41 +08:00
committed by jiahao
parent 9418bf69d9
commit 568889bd06
3 changed files with 8 additions and 112 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ if [ "$answer" = "N" ]; then
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.13.6`
answer=`$root/util/ver-ge "$main_ver" 1.17.1`
if [ "$answer" = "Y" ]; then
echo "$info_txt applying the linux_abstract_sockets patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-linux_abstract_sockets.patch || exit 1