diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-04-12 22:49:36 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-04-12 22:49:36 +0000 |
commit | 1d1d5ecd333e0b450c234927b6afe7101cc3a87b (patch) | |
tree | 631f338f83563a872f3fbf481bddc21498964fdc | |
parent | 40525510c2b995091498b61404474a6e74eb7cac (diff) |
doh, forgot to copy the final \0
-rw-r--r-- | ldso/ldso/dl-elf.c | 2 |
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 */ |