mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
9924aef690
First, ellipsize() and ellipsize_mem() should not read past the input buffer. Those functions take an explicit length for the input data, so they should not assume that the buffer is terminated by a nul. Second, ellipsization was off in various cases where wide on multi-byte characters were used. We had some basic test for ellipsize(), but apparently it wasn't enough to catch more serious cases. Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8686. |
||
---|---|---|
.. | ||
crash-5a8f03d4c3a46fcded39527084f437e8e4b54b76 | ||
crash-96dee870ea66d03e89ac321eee28ea63a9b9aa45 | ||
oss-fuzz-8686 |