diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-07-08 09:10:42 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-07-08 09:10:42 +0000 |
commit | 48f006fc656c70757103dc9efa92d5775717576b (patch) | |
tree | 49d57e1205b93471c3245fceab5dd5ac31ba743d /elf/dl-error.c | |
parent | 03d65262fdcc287ef8b691c7dff2f1a63cdd13c2 (diff) | |
download | glibc-48f006fc656c70757103dc9efa92d5775717576b.tar glibc-48f006fc656c70757103dc9efa92d5775717576b.tar.gz glibc-48f006fc656c70757103dc9efa92d5775717576b.tar.bz2 glibc-48f006fc656c70757103dc9efa92d5775717576b.zip |
Updated to fedora-glibc-20050708T0811
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r-- | elf/dl-error.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c index a63d801411..3a0d9bb8a7 100644 --- a/elf/dl-error.c +++ b/elf/dl-error.c @@ -98,8 +98,9 @@ _dl_signal_error (int errcode, const char *objname, const char *occation, /* If the main executable is relocated it means the libc's malloc is used. */ #ifdef SHARED - lcatch->malloced = (GL(dl_ns)[LM_ID_BASE]._ns_loaded->l_relocated - != 0); + lcatch->malloced = (GL(dl_ns)[LM_ID_BASE]._ns_loaded != NULL + && (GL(dl_ns)[LM_ID_BASE]._ns_loaded->l_relocated + != 0)); #else lcatch->malloced = true; #endif |