summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-12 22:49:36 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-12 22:49:36 +0000
commit1d1d5ecd333e0b450c234927b6afe7101cc3a87b (patch)
tree631f338f83563a872f3fbf481bddc21498964fdc /ldso
parent40525510c2b995091498b61404474a6e74eb7cac (diff)
doh, forgot to copy the final \0
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/dl-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 8e21a6549..eda20b569 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -162,7 +162,7 @@ search_for_named_library(const char *name, int secure, const char *path_list,
}
#endif
- _dl_memcpy(path, path_list, done);
+ _dl_memcpy(path, path_list, done+1);
/* Unlike ldd.c, don't bother to eliminate double //s */