printf() arguments shouldn't be passed straight from user supplied data.
(Security thingy.)
This commit is contained in:
parent
37310ea057
commit
cdbae77823
@ -106,7 +106,7 @@ extern int ln_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (link_func(*argv, src) != 0) {
|
if (link_func(*argv, src) != 0) {
|
||||||
bb_perror_msg(src);
|
bb_perror_msg("%s", src);
|
||||||
status = EXIT_FAILURE;
|
status = EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user