diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-08-28 16:52:53 -0300 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-08-30 09:03:14 -0300 |
| commit | b0e7888d1fa2dbd2d9e1645ec8c796abf78880b9 (patch) | |
| tree | 32bc7ff516c4364ca13bd5ed21026f1c5b04874b /malloc/alloc_buffer_alloc_array.c | |
| parent | 3bd3c612e98a53ce60ed972f5cd2b90628b3cba5 (diff) | |
| download | glibc-b0e7888d1fa2dbd2d9e1645ec8c796abf78880b9.tar.xz glibc-b0e7888d1fa2dbd2d9e1645ec8c796abf78880b9.zip | |
syslog: Fix large messages (BZ#29536)
The a583b6add407c17cd change did not handle large messages that
would require a heap allocation correctly, where the message itself
is not take in consideration.
This patch fixes it and extend the tst-syslog to check for large
messages as well.
Checked on x86_64-linux-gnu.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit 52a5be0df411ef3ff45c10c7c308cb92993d15b1)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
