summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-08-23 14:48:40 +0200
committerLukáš Nykrýn <lnykryn@redhat.com>2019-05-03 12:50:30 +0200
commit709214f554355158b2c3e70c7f3424997e002cee (patch)
tree674b85b9bfb3867270ffecbd9a29d4714b04c684 /units
parentb63440ad69581bad39a2eda7ab449f8a3f901c4e (diff)
downloadsystemd-709214f554355158b2c3e70c7f3424997e002cee.tar.gz
bus-message: avoid wrap-around when using length read from message
We would read (-1), and then add 1 to it, call message_peek_body(..., 0, ...), and when trying to make use of the data. The fuzzer test case is just for one site, but they all look similar. v2: fix two UINT8_MAX/UINT32_MAX mismatches founds by LGTM (cherry picked from commit 902000c19830f5e5a96e8948d691b42e91ecb1e7) Resolves: #1696224
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions