This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/22408] malloc_info access heaps without arena lock, ignores heaps
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 15 Nov 2017 10:40:19 +0000
- Subject: [Bug malloc/22408] malloc_info access heaps without arena lock, ignores heaps
- Auto-submitted: auto-generated
- References: <bug-22408-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22408
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 7a9368a1174cb15b9f1d6342e0e10dd90dae238d (commit)
from be3a79a3cc8d8111811a52b0fe243b6f4dd03844 (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=7a9368a1174cb15b9f1d6342e0e10dd90dae238d
commit 7a9368a1174cb15b9f1d6342e0e10dd90dae238d
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Nov 15 11:39:01 2017 +0100
malloc: Add missing arena lock in malloc_info [BZ #22408]
Obtain the size information while the arena lock is acquired, and only
print it later.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 ++++
malloc/Makefile | 2 +
malloc/malloc.c | 16 +++++--
malloc/tst-malloc_info.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 124 insertions(+), 4 deletions(-)
create mode 100644 malloc/tst-malloc_info.c
--
You are receiving this mail because:
You are on the CC list for the bug.