* elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD.

Reported by genesh@comcast.net.
This commit is contained in:
Ulrich Drepper 2006-04-08 19:52:13 +00:00
parent db67c2c98b
commit 0a21e40021
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-04-08 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD.
Reported by genesh@comcast.net.
* io/fts.c (fts_build): Call fts_lfree in the two error cases
after the loop [Coverity CID 187].

View File

@ -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: