]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sample: check alloc_trash_chunk() in conv_time_common()
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 25 Jul 2023 07:57:02 +0000 (09:57 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 25 Jul 2023 08:05:29 +0000 (10:05 +0200)
commit202b8e34a2b74d6050a33dda967ce37ac2eb2aca
treeb479e8a0beba1ba5762c2c065c95a3fd82d1eb08
parent5e63e1636a6c5e2ca454f177fde34e27a6e11c33
BUG/MINOR: sample: check alloc_trash_chunk() in conv_time_common()

Check the trash chunk allocation in conv_time_common(), also remove the
data initialisation which is already done when allocating.

Fixes issue #2227.

No backported needed.
src/sample.c