From d1cf0e7845b3944fb676a46b528bea519b41e42b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Jan 2009 00:03:56 +0100 Subject: fix a potential format string vulnerability --- src/pulsecore/shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/shared.c') diff --git a/src/pulsecore/shared.c b/src/pulsecore/shared.c index 4c1ad80a..d6e42dd8 100644 --- a/src/pulsecore/shared.c +++ b/src/pulsecore/shared.c @@ -115,7 +115,7 @@ void pa_shared_cleanup(pa_core *c) { pa_strbuf *s = pa_strbuf_new(); pa_shared_dump(c, s); - pa_log_debug(pa_strbuf_tostring(s)); + pa_log_debug("%s", pa_strbuf_tostring(s)); pa_strbuf_free(s); pa_assert(pa_hashmap_isempty(c->shared)); } -- cgit