fix a potential format string vulnerability

This commit is contained in:
Lennart Poettering 2009-01-15 00:03:56 +01:00
parent fd3f5db63c
commit d1cf0e7845

View file

@ -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));
}