From 2fa1d3b4b71ea87af8df2ffe4983ee3f151efbc6 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Apr 07 2021 22:35:35 +0000 Subject: journald: make server_process_native_message compatible with fuzz_journald_processing_function (cherry picked from commit 21acb27b71f6284a57e4e9f3ac5f0d38721ef4eb) Resolves: #1696224 patch_name: 0144-journald-make-server_process_native_message-compatib.patch present_in_specfile: true location_in_specfile: 144 squash_commits: true --- diff --git a/src/journal/journald-native.c b/src/journal/journald-native.c index da62448..466b6f7 100644 --- a/src/journal/journald-native.c +++ b/src/journal/journald-native.c @@ -293,7 +293,7 @@ finish: void server_process_native_message( Server *s, - const void *buffer, size_t buffer_size, + const char *buffer, size_t buffer_size, const struct ucred *ucred, const struct timeval *tv, const char *label, size_t label_len) { diff --git a/src/journal/journald-native.h b/src/journal/journald-native.h index 7211d4f..2a33ef7 100644 --- a/src/journal/journald-native.h +++ b/src/journal/journald-native.h @@ -5,7 +5,7 @@ void server_process_native_message( Server *s, - const void *buffer, + const char *buffer, size_t buffer_size, const struct ucred *ucred, const struct timeval *tv,