projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37310ea
)
printf() arguments shouldn't be passed straight from user supplied data.
author
Rob Landley
<rob@landley.net>
Mon, 12 Dec 2005 06:49:33 +0000
(06:49 -0000)
committer
Rob Landley
<rob@landley.net>
Mon, 12 Dec 2005 06:49:33 +0000
(06:49 -0000)
(Security thingy.)
coreutils/ln.c
patch
|
blob
|
history
diff --git
a/coreutils/ln.c
b/coreutils/ln.c
index 6751e909384c0e447c50e00c023112480a995397..dcb70d40f6fb2dae6e119952eae4dfe0231b5d4b 100644
(file)
--- a/
coreutils/ln.c
+++ b/
coreutils/ln.c
@@
-106,7
+106,7
@@
extern int ln_main(int argc, char **argv)
}
if (link_func(*argv, src) != 0) {
- bb_perror_msg(src);
+ bb_perror_msg(
"%s",
src);
status = EXIT_FAILURE;
}