aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-07-18 17:27:24 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-07-26 00:24:59 +0200
commit50ce3eae5ba304650459d4441d7d246a7cefc26f (patch)
treee3679754b8b812c4468fe77156a1b31d5ecf1b2f /ChangeLog
parent7e681561a3aea7aa8f21fb031a7c778147dfdf5b (diff)
downloadglibc-50ce3eae5ba304650459d4441d7d246a7cefc26f.zip
glibc-50ce3eae5ba304650459d4441d7d246a7cefc26f.tar.gz
glibc-50ce3eae5ba304650459d4441d7d246a7cefc26f.tar.bz2
gconv: Check reference count in __gconv_release_cache [BZ #24677]
This fixes a regression introduced in commit 7e740ab2e7be7d83b75513aa406e0b10875f7f9c ("libio: Fix gconv-related memory leak [BZ #24583]"). __gconv_release_cache is only ever called with heap-allocated arrays which contain at least one member. The statically allocated ASCII steps are filtered out by __wcsmbs_close_conv.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 31a6b38..dbdb85d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-07-25 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #24677]
+ * iconv/gconv_cache.c (__gconv_release_cache): Check reference
+ counter before freeing array.
+
2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
[BZ #24603]