commit | cdbae77823d82ad0451007f1b192f782c33f2764 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon Dec 12 06:49:33 2005 +0000 |
committer | Rob Landley <rob@landley.net> | Mon Dec 12 06:49:33 2005 +0000 |
tree | e082e3967b928845a03ceecea22833454aea646f | |
parent | 37310ea0574e83a877a263646cc58ecfbe857fbd [diff] [blame] |
printf() arguments shouldn't be passed straight from user supplied data. (Security thingy.)
diff --git a/coreutils/ln.c b/coreutils/ln.c index 6751e90..dcb70d4 100644 --- a/coreutils/ln.c +++ b/coreutils/ln.c
@@ -106,7 +106,7 @@ } if (link_func(*argv, src) != 0) { - bb_perror_msg(src); + bb_perror_msg("%s", src); status = EXIT_FAILURE; }