about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-02-10 16:24:17 -0500
committerZack Weinberg <zackw@panix.com>2018-02-10 16:24:17 -0500
commit402ecba487804e9196769f39a8d157847d3b3104 (patch)
treea3520f093faa45dcb88e6ed8a97d9c5ad2f98e64 /ChangeLog
parent4f5b921eb9b775aa3549a9bcd684c3013132f04b (diff)
downloadglibc-402ecba487804e9196769f39a8d157847d3b3104.tar.gz
glibc-402ecba487804e9196769f39a8d157847d3b3104.tar.xz
glibc-402ecba487804e9196769f39a8d157847d3b3104.zip
[BZ #22830] malloc_stats: restore cancellation for stderr correctly.
malloc_stats means to disable cancellation for writes to stderr while
it runs, but it restores stderr->_flags2 with |= instead of =, so what
it actually does is disable cancellation on stderr permanently.

	[BZ #22830]
	* malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
        correctly.
        * malloc/tst-malloc-stats-cancellation.c: New test case.
        * malloc/Makefile: Add new test case.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index db08a257df..ef07ca48e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-02-10  Zack Weinberg  <zackw@panix.com>
+
+	[BZ #22830]
+	* malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
+	correctly.
+	* malloc/tst-malloc-stats-cancellation.c: New test case.
+	* malloc/Makefile: Add new test case.
+
 2018-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
 
 	* sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.