about summary refs log tree commit diff
path: root/malloc/tst-malloc_info.c
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 /malloc/tst-malloc_info.c
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 'malloc/tst-malloc_info.c')
0 files changed, 0 insertions, 0 deletions