1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/script
David Disseldorp via samba-technical f9d4158f0b tests/fake_snap: sanitize paths
Ensure fake_snap.pl can be run in taint mode (-T), by sanitizing paths
and the PATH env. This fixes the following samba3.rpc.fsrvp selftest
failures:
Insecure dependency in mkdir while running setgid at (eval 2) line 4.
snap create failed: NT_STATUS_UNSUCCESSFUL
snap create failed for shadow copy of /home/ddiss/isms/samba/st/nt4_dc/share

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12988

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 29 04:54:51 CEST 2017 on sn-devel-144
2017-08-29 04:54:50 +02:00
..
tests tests/fake_snap: sanitize paths 2017-08-29 04:54:50 +02:00
count_80_col.pl
creategroup
findsmb.in Correct "follwing" typos. 2017-02-22 08:26:22 +01:00
fix_bool.pl
format_indent.sh
makeunicodecasemap.awk
mknissmbpasswd.sh
mknissmbpwdtbl.sh
mksmbpasswd.sh
mksyms.awk
mksyms.sh
scancvslog.pl
smbaddshare selftest: Add callout scripts for RPC SRVSVC share modifications 2015-06-18 16:32:15 +02:00
smbchangeshare selftest: Add callout scripts for RPC SRVSVC share modifications 2015-06-18 16:32:15 +02:00
smbdeleteshare selftest: Add callout scripts for RPC SRVSVC share modifications 2015-06-18 16:32:15 +02:00
smbtar
strip_trail_ws.pl
updatesmbpasswd.sh
wscript_build s3-script: Install the findsmb script 2016-06-09 19:10:15 +02:00