diff options
author | Rob Landley <rob@landley.net> | 2005-12-12 06:49:33 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-12-12 06:49:33 +0000 |
commit | cdbae77823d82ad0451007f1b192f782c33f2764 (patch) | |
tree | e082e3967b928845a03ceecea22833454aea646f | |
parent | 37310ea0574e83a877a263646cc58ecfbe857fbd (diff) | |
download | busybox-cdbae77823d82ad0451007f1b192f782c33f2764.tar.gz |
printf() arguments shouldn't be passed straight from user supplied data.
(Security thingy.)
-rw-r--r-- | coreutils/ln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c index 6751e9093..dcb70d40f 100644 --- 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; } |