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

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

http://sourceware.org/bugzilla/show_bug.cgi?id=16112

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
       via  8b35e35d0f4eae28a47c23e2aa15ddf570fa86ef (commit)
      from  8f5de63892b491856400a394632b46c3b1be642d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b35e35d0f4eae28a47c23e2aa15ddf570fa86ef

commit 8b35e35d0f4eae28a47c23e2aa15ddf570fa86ef
Author: Ondřej Bílka <neleai@seznam.cz>
Date:   Fri Nov 1 15:39:26 2013 +0100

    Fix malloc_info statistic. Fixes bug 16112

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    6 ++++++
 NEWS            |    2 +-
 malloc/malloc.c |   20 ++++----------------
 3 files changed, 11 insertions(+), 17 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-20034-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Nov 01 14:40:48 2013
Return-Path: <glibc-bugs-return-20034-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 19085 invoked by alias); 1 Nov 2013 14:40:48 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 19052 invoked by uid 48); 1 Nov 2013 14:40:45 -0000
From: "neleai at seznam dot cz" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/16112] malloc_info reads uninitialized memory
Date: Fri, 01 Nov 2013 14:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: malloc
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: neleai at seznam dot cz
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-16112-131-aojjWrsS0U@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16112-131@http.sourceware.org/bugzilla/>
References: <bug-16112-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-11/txt/msg00005.txt.bz2
Content-length: 499

https://sourceware.org/bugzilla/show_bug.cgi?id\x16112

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Ondrej Bilka <neleai at seznam dot cz> ---
Fixed.

--
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug malloc/16112] malloc_info reads uninitialized memory
  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
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13  9:34 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16112

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
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).