[Bug dynamic-link/14839] New: Access behind terminating nullbyte of the environment?
jannhorn at googlemail dot com
sourceware-bugzilla@sourceware.org
Tue Nov 13 22:40:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14839
Bug #: 14839
Summary: Access behind terminating nullbyte of the environment?
Product: glibc
Version: 2.13
Status: NEW
Severity: minor
Priority: P2
Component: dynamic-link
AssignedTo: unassigned@sourceware.org
ReportedBy: jannhorn@googlemail.com
Classification: Unclassified
>From rtld.c:
case 10:
/* Mask for the important hardware capabilities. */
if (memcmp (envline, "HWCAP_MASK", 10) == 0)
GLRO(dl_hwcap_mask) = __strtoul_internal (&envline[11], NULL,
0, 0);
As far as I can see, there is no check that makes sure that the tenth byte
isn't already the terminating nullbyte.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list