From cfe6acff2ddc7eb03b3489770219edf829abd323 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 27 Mar 2022 20:41:05 +0100 Subject: Taintcheck transport-process arguments --- test/scripts/0000-Basic/0002 | 2 ++ test/scripts/0000-Basic/0383 | 3 +++ test/scripts/0000-Basic/0594 | 9 +++++++++ 3 files changed, 14 insertions(+) (limited to 'test/scripts/0000-Basic') diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index 463ad96e9..d169518b6 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -802,6 +802,8 @@ rc=$runrc rc=$runrc ${if eq{1}{2}{${run{/non/exist}}}{1!=2}} rc=$runrc +${run,preexpand {DIR/aux-fixed/0002.runfile 0}} +rc=$runrc # PRVS diff --git a/test/scripts/0000-Basic/0383 b/test/scripts/0000-Basic/0383 index ab2f44808..cf3325567 100644 --- a/test/scripts/0000-Basic/0383 +++ b/test/scripts/0000-Basic/0383 @@ -2,6 +2,9 @@ exim -odi alice To: alice@test.ex **** +exim -odi marny +To: marny@test.ex +**** exim -odi jabberwocky To: jabberwocky@test.ex **** diff --git a/test/scripts/0000-Basic/0594 b/test/scripts/0000-Basic/0594 index 5fbc9319c..73b565e48 100644 --- a/test/scripts/0000-Basic/0594 +++ b/test/scripts/0000-Basic/0594 @@ -2,3 +2,12 @@ exim -odi pipe-userx=DIR/bin/iefbr14@test.ex A test message. **** +# +exim -odi rtr_user@test.ex +This one has an ok executable but tainted arg, pipecmd set by router +**** +exim -odi tpt_user@test.ex +This one has an ok executable but tainted arg, pipecmd set by transport +**** +# +no_msglog_check -- cgit v1.2.3