search for: malloc_s

Displaying 1 result from an estimated 1 matches for "malloc_s".

Did you mean: mallocs
1998 May 26
0
Re: Beware of dangerous enviroment (Re: Overflows in minicom)
...because I was too lazy to verify they were safe... <<<patch for 5.4.44>>> --- libc-5.4.44/libc/dl-malloc/malloc.c.secenv Sun Nov 2 03:48:44 1997 +++ libc-5.4.44/libc/dl-malloc/malloc.c Sat May 16 15:28:14 1998 @@ -257,6 +257,8 @@ #include <stdio.h> /* needed for malloc_stats */ +extern char *__libc_secure_getenv(const char *); + /* Compile-time options @@ -3365,15 +3367,15 @@ if(__libc_malloc_initialized) return; __libc_malloc_initialized = 1; - if((s = getenv("MALLOC_TRIM_THRESHOLD_"))) + if((s = __libc_secure_getenv("MALLOC_TRIM_T...