aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2001-12-02 05:55:23 +0000
committerFrederic Lepied <flepied@mandriva.com>2001-12-02 05:55:23 +0000
commiteee1d3bbe23cd1c8fbd04185cb78104a2c562602 (patch)
treee8f71a12ae390d8f46703a3943d5be293cfbeb07
parentf728b1e11333fb8e80577147f72ae1a79b7f0cff (diff)
downloadmsec-eee1d3bbe23cd1c8fbd04185cb78104a2c562602.tar
msec-eee1d3bbe23cd1c8fbd04185cb78104a2c562602.tar.gz
msec-eee1d3bbe23cd1c8fbd04185cb78104a2c562602.tar.bz2
msec-eee1d3bbe23cd1c8fbd04185cb78104a2c562602.tar.xz
msec-eee1d3bbe23cd1c8fbd04185cb78104a2c562602.zip
libsafe.so.1.3 => libsafe.so.2
-rwxr-xr-xinit-sh/custom.sh4
1 files changed, 2 insertions, 2 deletions
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