Merge pull request #10089 from yuwata/fix-oss-fuzz-10350
bus-util: use _printf_ attribute Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10350.
This commit is contained in:
commit
ff5f29eb69
|
@ -201,7 +201,7 @@ static void test_catalog_file_lang(void) {
|
|||
|
||||
int main(int argc, char *argv[]) {
|
||||
_cleanup_(unlink_tempfilep) char database[] = "/tmp/test-catalog.XXXXXX";
|
||||
_cleanup_free_ char *text = NULL, *catalog_dir = NULL;
|
||||
_cleanup_free_ char *text = NULL;
|
||||
int r;
|
||||
|
||||
setlocale(LC_ALL, "de_DE.UTF-8");
|
||||
|
|
|
@ -65,7 +65,7 @@ int bus_connect_transport_systemd(BusTransport transport, const char *host, bool
|
|||
|
||||
typedef int (*bus_message_print_t) (const char *name, const char *expected_value, sd_bus_message *m, bool value, bool all);
|
||||
|
||||
int bus_print_property_value(const char *name, const char *expected_value, bool only_value, const char *fmt, ...);
|
||||
int bus_print_property_value(const char *name, const char *expected_value, bool only_value, const char *fmt, ...) _printf_(4,5);
|
||||
int bus_message_print_all_properties(sd_bus_message *m, bus_message_print_t func, char **filter, bool value, bool all, Set **found_properties);
|
||||
int bus_print_all_properties(sd_bus *bus, const char *dest, const char *path, bus_message_print_t func, char **filter, bool value, bool all, Set **found_properties);
|
||||
|
||||
|
|
Loading…
Reference in New Issue