]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc: Add missing arena lock in malloc_info [BZ #22408]
authorFlorian Weimer <fweimer@redhat.com>
Wed, 15 Nov 2017 10:39:01 +0000 (11:39 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 15 Nov 2017 10:39:01 +0000 (11:39 +0100)
commit7a9368a1174cb15b9f1d6342e0e10dd90dae238d
tree635f3107419650143dd7139c12c01f9d43756bc3
parentbe3a79a3cc8d8111811a52b0fe243b6f4dd03844
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.
ChangeLog
malloc/Makefile
malloc/malloc.c
malloc/tst-malloc_info.c [new file with mode: 0644]