mirror of git://sourceware.org/git/glibc.git
* 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>
|
2002-12-27 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* Makerules ($(common-objpfx)%.make): Filter through
|
* Makerules ($(common-objpfx)%.make): Filter through
|
||||||
|
|
|
@ -436,6 +436,7 @@ ptmalloc_init __MALLOC_P((void))
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
secure = __libc_enable_secure;
|
secure = __libc_enable_secure;
|
||||||
s = NULL;
|
s = NULL;
|
||||||
|
if (__builtin_expect (_environ != NULL, 1))
|
||||||
{
|
{
|
||||||
char **runp = _environ;
|
char **runp = _environ;
|
||||||
char *envline;
|
char *envline;
|
||||||
|
|
Loading…
Reference in New Issue