From eee1d3bbe23cd1c8fbd04185cb78104a2c562602 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Sun, 2 Dec 2001 05:55:23 +0000 Subject: libsafe.so.1.3 => libsafe.so.2 --- init-sh/custom.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init-sh/custom.sh') diff --git a/init-sh/custom.sh b/init-sh/custom.sh index cd41165..dd8b9a5 100755 --- a/init-sh/custom.sh +++ b/init-sh/custom.sh @@ -81,7 +81,7 @@ if [[ ${answer} == yes ]]; then fi ### -if [[ -f /lib/libsafe.so.1.3 ]]; then +if [[ -f /lib/libsafe.so.2 ]]; then echo "Do you want to enable the libsafe stack overflow protection ?" echo "This stack overflow protection work by catching dangerous function call" echo "like strcpy, strcat, getwd, gets, [vf]scanf, realpath, [v]sprintf" @@ -90,7 +90,7 @@ echo "this is done by searching in the stack frame the one which contain the" echo "destination address, and by substracting the frame address to the destination buffer one" WaitAnswer; clear if [[ ${answer} == yes ]]; then - AddRules "/lib/libsafe.so.1.3" /etc/ld.so.preload + AddRules "/lib/libsafe.so.2" /etc/ld.so.preload fi fi -- cgit v1.2.1