diff options
| author | Lennart Poettering <lennart@poettering.net> | 2009-01-15 00:03:56 +0100 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2009-01-15 00:03:56 +0100 | 
| commit | d1cf0e7845b3944fb676a46b528bea519b41e42b (patch) | |
| tree | 2adaa403d6dde05569ab95febb5efa5193e5aa4a | |
| parent | fd3f5db63c322f6a01bfd62895add2eac94f61b4 (diff) | |
fix a potential format string vulnerability
| -rw-r--r-- | src/pulsecore/shared.c | 2 | 
1 files changed, 1 insertions, 1 deletions
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));      }  | 
