summaryrefslogtreecommitdiffstats
path: root/src/fuzz/fuzz-bus-message.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-01-23 18:42:54 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-01-23 23:38:20 +0100
commit2b4a65b66813b01aa56e6f11643017d3fef55b06 (patch)
tree81090a2451aa9fd2bc6c0d5069fbec9d7b78e08d /src/fuzz/fuzz-bus-message.c
parentsd-bus: make dump flags public (diff)
downloadsystemd-2b4a65b66813b01aa56e6f11643017d3fef55b06.tar.xz
systemd-2b4a65b66813b01aa56e6f11643017d3fef55b06.zip
sd-bus: export sd_bus_message_dump
Fixes #14640.
Diffstat (limited to 'src/fuzz/fuzz-bus-message.c')
-rw-r--r--src/fuzz/fuzz-bus-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzz/fuzz-bus-message.c b/src/fuzz/fuzz-bus-message.c
index a9a939a6cc..3d1ac7e68a 100644
--- a/src/fuzz/fuzz-bus-message.c
+++ b/src/fuzz/fuzz-bus-message.c
@@ -36,7 +36,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
if (getenv_bool("SYSTEMD_FUZZ_OUTPUT") <= 0)
assert_se(g = open_memstream_unlocked(&out, &out_size));
- bus_message_dump(m, g ?: stdout, SD_BUS_MESSAGE_DUMP_WITH_HEADER);
+ sd_bus_message_dump(m, g ?: stdout, SD_BUS_MESSAGE_DUMP_WITH_HEADER);
r = sd_bus_message_rewind(m, true);
assert_se(r >= 0);