about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-03 22:13:51 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-03 22:14:33 +0100
commitb8c7238167de4c080b8b0909213bc7b5abef46e3 (patch)
treecc614cee165961e5c5180e0c15979b0038856207 /ChangeLog
parent11f382ee780649549428cb25af3a9f1d3465868d (diff)
downloadglibc-b8c7238167de4c080b8b0909213bc7b5abef46e3.tar.gz
glibc-b8c7238167de4c080b8b0909213bc7b5abef46e3.tar.xz
glibc-b8c7238167de4c080b8b0909213bc7b5abef46e3.zip
time: Use struct alloc_buffer in __tzfile_read
The computation of tzspec_len is moved in front of the total_size
computation, so that the allocation size computation and the
suballocations are next to each other.  Also add an assert that
tzspec_len is positive when it is actually used later.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 82604298de..bc1b17ffa7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-02-03  Florian Weimer  <fweimer@redhat.com>
+
+	* time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
+	implicit overflow checks.
+
 2019-02-03  Aurelien Jarno  <aurelien@aurel32.net>
 
 	* stdlib/isomac.c: Include <unistd.h>.