mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
_environ is NULL.
This commit is contained in:
parent
e48cf6786b
commit
08e49216e8
@ -1,3 +1,8 @@
|
||||
2002-12-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
|
||||
_environ is NULL.
|
||||
|
||||
2002-12-27 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* Makerules ($(common-objpfx)%.make): Filter through
|
||||
|
@ -436,6 +436,7 @@ ptmalloc_init __MALLOC_P((void))
|
||||
#ifdef _LIBC
|
||||
secure = __libc_enable_secure;
|
||||
s = NULL;
|
||||
if (__builtin_expect (_environ != NULL, 1))
|
||||
{
|
||||
char **runp = _environ;
|
||||
char *envline;
|
||||
|
Loading…
Reference in New Issue
Block a user