diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-07-09 13:21:44 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-10-02 11:53:20 +0200 |
commit | 81b6e63029eefcb0ec03a3a7c248490e38106073 (patch) | |
tree | fe33a1a4104fd926a09757e4aeb10e60fb741d69 /test | |
parent | bus-message: let's always use -EBADMSG when the message is bad (diff) | |
download | systemd-81b6e63029eefcb0ec03a3a7c248490e38106073.tar.xz systemd-81b6e63029eefcb0ec03a3a7c248490e38106073.zip |
bus-message: do not crash on message with a string of zero length
We'd calculate the "real" length of the string as 'item_size - 1', which does
not work out well when item_size == 0.
Diffstat (limited to 'test')
-rw-r--r-- | test/fuzz/fuzz-bus-message/crash-29ed3c202e0ffade3cad42c8bbeb6cc68a21eb8e | bin | 0 -> 51 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-bus-message/crash-29ed3c202e0ffade3cad42c8bbeb6cc68a21eb8e b/test/fuzz/fuzz-bus-message/crash-29ed3c202e0ffade3cad42c8bbeb6cc68a21eb8e Binary files differnew file mode 100644 index 0000000000..4488f0a6c6 --- /dev/null +++ b/test/fuzz/fuzz-bus-message/crash-29ed3c202e0ffade3cad42c8bbeb6cc68a21eb8e |