public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug malloc/16112] New: malloc_info reads uninitialized memory
@ 2013-11-01 14:31 neleai at seznam dot cz
  2013-11-01 14:39 ` [Bug malloc/16112] " cvs-commit at gcc dot gnu.org
  2014-06-13  9:34 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: neleai at seznam dot cz @ 2013-11-01 14:31 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-13  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-01 14:31 [Bug malloc/16112] New: malloc_info reads uninitialized memory neleai at seznam dot cz
2013-11-01 14:39 ` [Bug malloc/16112] " cvs-commit at gcc dot gnu.org
2014-06-13  9:34 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).