tar: postpone creation of symlinks with "suspicious" targets. Closes 8411
function old new delta data_extract_all 968 1038 +70 tar_main 952 986 +34 scan_tree 258 262 +4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 108/0) Total: 108 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -33,7 +33,7 @@ int link_main(int argc UNUSED_PARAM, char **argv)
|
||||
if (link(argv[0], argv[1]) != 0) {
|
||||
/* shared message */
|
||||
bb_perror_msg_and_die("can't create %slink "
|
||||
"%s to %s", "hard",
|
||||
"'%s' to '%s'", "hard",
|
||||
argv[1], argv[0]
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user