mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-04 08:22:13 +03:00
* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
_environ is NULL.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user