From 0a21e40021389dd9beccafae597fd931e355f7cd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 8 Apr 2006 19:52:13 +0000 Subject: * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD. Reported by genesh@comcast.net. --- elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/rtld.c') diff --git a/elf/rtld.c b/elf/rtld.c index 68fe809..9a21b8b 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -2624,7 +2624,7 @@ process_envvars (enum mode *modep) } if (memcmp (envline, "POINTER_GUARD", 13) == 0) - GLRO(dl_pointer_guard) = envline[14] == '0'; + GLRO(dl_pointer_guard) = envline[14] != '0'; break; case 14: -- cgit v1.1