mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-08-20 21:50:10 +03:00
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33881. Not only we would duplicate unknown input on the stack, we would do it over and over. So let's first check that the input has reasonable length, but also allocate just one fixed size buffer. (cherry picked from commite17c95af8e
) (cherry picked from commit5172ef4a58
) (cherry picked from commit7e0f374aac
)