projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4e344
)
test-privserver: avoid -Wformat-security
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 7 Oct 2016 18:44:47 +0000
(19:44 +0100)
committer
Simon McVittie
<smcv@debian.org>
Thu, 13 Oct 2016 21:44:13 +0000
(22:44 +0100)
This is not a security vulnerability because it's test code that
should never be compiled in production.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/name-test/test-privserver.c
patch
|
blob
|
history
diff --git
a/test/name-test/test-privserver.c
b/test/name-test/test-privserver.c
index
367c809
..
8bdd4f7
100644
(file)
--- a/
test/name-test/test-privserver.c
+++ b/
test/name-test/test-privserver.c
@@
-95,7
+95,7
@@
main (int argc, char *argv[])
server = dbus_server_listen ("unix:tmpdir=/tmp", &error);
#endif
if (!server)
- die (error.message);
+ die (
"%s",
error.message);
testdata->private_addr = dbus_server_get_address (server);
fprintf (stderr, "test server listening on %s\n", testdata->private_addr);