This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/16112] New: malloc_info reads uninitialized memory
- From: "neleai at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 01 Nov 2013 14:31:44 +0000
- Subject: [Bug malloc/16112] New: malloc_info reads uninitialized memory
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16112
Bug ID: 16112
Summary: malloc_info reads uninitialized memory
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: malloc
Assignee: unassigned at sourceware dot org
Reporter: neleai at seznam dot cz
malloc_info could produce following entry:
<size from="32785" to="32785" total="32785" count="1"/>
<size from="2512305" to="2512305" total="2512305" count="1"/>
<unsorted from="8993" to="8386112020140800621"
total="8316306148830692230" count="7526394837682317685"/>
</sizes>
A problem here is that we increment sizes[NFASTBINS].count but do not
initialize it to zero. Patch follows.
--
You are receiving this mail because:
You are on the CC list for the bug.