chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23bbea7
)
progs/pixie.c: Fix format security bugs.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 22 Jun 2013 15:24:52 +0000
(16:24 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 28 Jun 2013 23:31:54 +0000
(
00:31
+0100)
Really not very impressive.
progs/pixie.c
patch
|
blob
|
blame
|
history
diff --git
a/progs/pixie.c
b/progs/pixie.c
index c501236fd5b1facfb2a3ecf826839df8a86e01de..cb22c0a235e36c8c70cddaefc3896281ae2d82de 100644
(file)
--- a/
progs/pixie.c
+++ b/
progs/pixie.c
@@
-1378,9
+1378,9
@@
int main(int argc, char *argv[])
dstr d = DSTR_INIT;
int rc = l_report(&lm, &d);
if (rc < 0)
- die(EXIT_FAILURE, d.buf);
+ die(EXIT_FAILURE,
"%s",
d.buf);
else if (rc && verbose) {
- pxlog(d.buf);
+ pxlog(
"%s",
d.buf);
pxlog("couldn't lock passphrase buffer");
}
dstr_destroy(&d);