diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-07 07:02:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-07 07:02:20 +0000 |
commit | 616d91335a8be5fda715a34dac48bb067d77b523 (patch) | |
tree | c1fff0833a3adb6b8ea83453aabadfb7acbedb69 /elf/ldconfig.c | |
parent | 0292b0dd6c85436fb10df5a77bde53ad4c298a6b (diff) | |
download | glibc-616d91335a8be5fda715a34dac48bb067d77b523.zip glibc-616d91335a8be5fda715a34dac48bb067d77b523.tar.gz glibc-616d91335a8be5fda715a34dac48bb067d77b523.tar.bz2 |
* elf/ldconfig.c (main): Use rawmemchr instead of strchr.
* nis/nis_call.c (rec_dirsearch): Likewise.
* nis/nis_local_names.c (nis_local_host): Likewise.
(nis_local_directory): Likewise.
* intl/explodename.c (_nl_explode_name): Likewise.
* sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle
DW_CFA_GNU_windiw_save if it obviously cannot work [Coverity CID 102].
* locale/programs/ld-address.c (address_finish): Fix conditions
for error messages [Coverity CID 104].
Diffstat (limited to 'elf/ldconfig.c')
-rw-r--r-- | elf/ldconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 359fbdb..5b9a5b1 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -1194,7 +1194,7 @@ main (int argc, char **argv) if (opt_chroot) { /* Normalize the path a bit, we might need it for printing later. */ - char *endp = strchr (opt_chroot, '\0'); + char *endp = rawmemchr (opt_chroot, '\0'); while (endp > opt_chroot && endp[-1] == '/') --endp; *endp = '\0'; |