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-w32-cdbae77823d82ad0451007f1b192f782c33f2764.tar.gz busybox-w32-cdbae77823d82ad0451007f1b192f782c33f2764.tar.bz2 busybox-w32-cdbae77823d82ad0451007f1b192f782c33f2764.zip | |
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) | |||
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | if (link_func(*argv, src) != 0) { | 108 | if (link_func(*argv, src) != 0) { |
| 109 | bb_perror_msg(src); | 109 | bb_perror_msg("%s", src); |
| 110 | status = EXIT_FAILURE; | 110 | status = EXIT_FAILURE; |
| 111 | } | 111 | } |
| 112 | 112 | ||
