svn commit: trunk/uClibc/libc/misc/internals
vapier at uclibc.org
vapier at uclibc.org
Mon Nov 27 15:25:33 UTC 2006
Author: vapier
Date: 2006-11-27 07:25:32 -0800 (Mon, 27 Nov 2006)
New Revision: 16688
Log:
fix from cmetcalf to make sure we clear the auxvt table before using it
Modified:
trunk/uClibc/libc/misc/internals/__uClibc_main.c
Changeset:
Modified: trunk/uClibc/libc/misc/internals/__uClibc_main.c
===================================================================
--- trunk/uClibc/libc/misc/internals/__uClibc_main.c 2006-11-27 15:12:16 UTC (rev 16687)
+++ trunk/uClibc/libc/misc/internals/__uClibc_main.c 2006-11-27 15:25:32 UTC (rev 16688)
@@ -296,6 +296,7 @@
#ifdef __ARCH_USE_MMU__
/* Pull stuff from the ELF header when possible */
+ memset(auxvt, 0x00, sizeof(auxvt));
aux_dat = (unsigned long*)__environ;
while (*aux_dat) {
aux_dat++;
More information about the uClibc-cvs
mailing list