mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Update.
1999-03-15 Ulrich Drepper <drepper@cygnus.com> * elf/dl-load.c: Compute rtld_search_dir array size correctly. Reported by Yasushi Saito <yasushi@cs.washington.edu>.
This commit is contained in:
parent
d1987d2d19
commit
983b29ede8
@ -1,3 +1,8 @@
|
||||
1999-03-15 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* elf/dl-load.c: Compute rtld_search_dir array size correctly.
|
||||
Reported by Yasushi Saito <yasushi@cs.washington.edu>.
|
||||
|
||||
1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
|
||||
|
||||
* manual/libc.texinfo: Undo last change for now.
|
||||
|
@ -481,7 +481,8 @@ _dl_init_paths (const char *llp)
|
||||
|
||||
/* First set up the rest of the default search directory entries. */
|
||||
aelem = rtld_search_dirs = (struct r_search_path_elem **)
|
||||
malloc ((ncapstr + 1) * sizeof (struct r_search_path_elem *));
|
||||
malloc (((sizeof (system_dirs) / sizeof (system_dirs[0]) + 1)
|
||||
* sizeof (struct r_search_path_elem *));
|
||||
if (rtld_search_dirs == NULL)
|
||||
_dl_signal_error (ENOMEM, NULL, "cannot create search path array");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user