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 /support | |
parent | testsuite: stdlib/isomac.c: add missing include (diff) | |
download | 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 'support')
0 files changed, 0 insertions, 0 deletions