aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-deps.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-01-30 09:30:09 +0000
committerJakub Jelinek <jakub@redhat.com>2006-01-30 09:30:09 +0000
commit3e543bc56346540cbf73fd48d0172fc6a588efd5 (patch)
treeb2c3502b6596d238ac861cc82cafdc6f8b84e143 /elf/dl-deps.c
parent06f313e361a523605ba6d4c9cdc67a7353cd367c (diff)
downloadglibc-3e543bc56346540cbf73fd48d0172fc6a588efd5.tar
glibc-3e543bc56346540cbf73fd48d0172fc6a588efd5.tar.gz
glibc-3e543bc56346540cbf73fd48d0172fc6a588efd5.tar.bz2
glibc-3e543bc56346540cbf73fd48d0172fc6a588efd5.zip
Updated to fedora-glibc-20060130T0922
Diffstat (limited to 'elf/dl-deps.c')
-rw-r--r--elf/dl-deps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c
index a73e21db7b..fd3b5243fd 100644
--- a/elf/dl-deps.c
+++ b/elf/dl-deps.c
@@ -247,6 +247,7 @@ _dl_map_object_deps (struct link_map *map,
if (__builtin_expect (errstring != NULL, 0))
{
char *new_errstring = strdupa (errstring);
+ objname = strdupa (objname);
if (malloced)
free ((char *) errstring);
errstring = new_errstring;
@@ -337,6 +338,7 @@ _dl_map_object_deps (struct link_map *map,
if (__builtin_expect (errstring != NULL, 0))
{
char *new_errstring = strdupa (errstring);
+ objname = strdupa (objname);
if (malloced)
free ((char *) errstring);
errstring = new_errstring;