mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
324d6aa926
We'd look for a '=' separator using memchr, i.e. ignoring any nul bytes in the string, but then do a strndup, which would terminate on any nul byte, and then again do a memcmp, which would access memory past the chunk allocated by strndup. Of course, we probably shouldn't allow keys with nul bytes in them. But we currently do, so there might be journal files like that out there. So let's fix the journal-reading code first. |
||
---|---|---|
.. | ||
crash-96dee870ea66d03e89ac321eee28ea63a9b9aa45 |