diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-02-03 22:13:51 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-03 22:14:33 +0100 |
commit | b8c7238167de4c080b8b0909213bc7b5abef46e3 (patch) | |
tree | cc614cee165961e5c5180e0c15979b0038856207 /ChangeLog | |
parent | 11f382ee780649549428cb25af3a9f1d3465868d (diff) | |
download | glibc-b8c7238167de4c080b8b0909213bc7b5abef46e3.tar glibc-b8c7238167de4c080b8b0909213bc7b5abef46e3.tar.gz glibc-b8c7238167de4c080b8b0909213bc7b5abef46e3.tar.bz2 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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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>. |