Files
coreutils/src
Paul Eggert 44ccd1c465 copy: check for vulnerable target dirs
* NEWS, doc/coreutils.texi (Target directory): Document this.
* src/cp.c, src/install.c, src/ln.c, src/mv.c: Include targetdir.h.
(target_directory_operand): Use the new targetdir_operand_type
function to check for vulnerable target directories.
* src/cp.c (stat_target_operand): New function.
(target_directory_operand, do_copy): Use it.
* src/local.mk (noinst_HEADERS): Add src/targetdir.h.
(src_ginstall_SOURCES, src_cp_SOURCES, src_ln_SOURCES)
(src_mv_SOURCES): Add src/targetdir.c.
* src/targetdir.c, src/targetdir.h: New files.
* tests/mv/vulnerable-target.sh: New test.
* tests/local.mk (all_root_tests): Add it.
2017-09-19 00:14:30 -07:00
..
2017-07-23 12:25:40 -07:00
2017-02-16 00:40:50 -08:00
…
2017-09-19 00:14:30 -07:00
2017-01-20 18:24:54 -08:00
2017-08-29 00:38:19 -07:00
…
2017-07-10 10:17:57 +02:00
2017-02-16 00:40:50 -08:00
2017-09-19 00:14:30 -07:00
…
…
…
2017-09-19 00:14:30 -07:00
2017-08-17 12:03:03 -07:00
2017-08-02 20:21:20 -07:00
2017-08-19 15:45:13 -07:00
2017-03-27 20:32:58 -07:00
2017-08-24 19:20:47 -07:00
2017-02-16 00:40:50 -08:00
2017-08-30 20:46:49 -07:00