mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
One more bug in ldconfig -r handling.
This commit is contained in:
parent
8497559725
commit
49bd556d43
@ -1,3 +1,8 @@
|
||||
2010-05-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elf/ldconfig.c (parse_conf_include): Don't fall back to
|
||||
directories named in config file outside the chroot.
|
||||
|
||||
2010-02-02 Andreas Schwab <schwab@redhat.com>
|
||||
|
||||
* sysdeps/generic/ldsodefs.h (struct rtld_global): Add
|
||||
|
@ -1174,7 +1174,9 @@ parse_conf_include (const char *config_file, unsigned int lineno,
|
||||
if (do_chroot && opt_chroot)
|
||||
{
|
||||
char *canon = chroot_canon (opt_chroot, pattern);
|
||||
result = glob64 (canon ?: pattern, 0, NULL, &gl);
|
||||
if (canon == NULL)
|
||||
return;
|
||||
result = glob64 (canon, 0, NULL, &gl);
|
||||
free (canon);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user