diff options
author | Frederic Lepied <flepied@mandriva.com> | 2001-12-02 05:55:23 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2001-12-02 05:55:23 +0000 |
commit | eee1d3bbe23cd1c8fbd04185cb78104a2c562602 (patch) | |
tree | e8f71a12ae390d8f46703a3943d5be293cfbeb07 | |
parent | f728b1e11333fb8e80577147f72ae1a79b7f0cff (diff) | |
download | msec-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-x | init-sh/custom.sh | 4 |
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 |