git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 4.next
[exim.git]
/
test
/
scripts
/
0000-Basic
/
0593
diff --git
a/test/scripts/0000-Basic/0593
b/test/scripts/0000-Basic/0593
index 54ca506ccd32bb44602c55477ee4a8c6fc8dca6d..00790ff1c206df0a371ed269f6c5b80baef975a6 100644
(file)
--- a/
test/scripts/0000-Basic/0593
+++ b/
test/scripts/0000-Basic/0593
@@
-1,7
+1,21
@@
# tainted data for appendfile file option
# tainted data for appendfile file option
+#
+# This should trap
exim -bs -odi
exim -bs -odi
+helo test
mail from:someone@some.domain
mail from:someone@some.domain
-rcpt to:CALLER@HOSTNAME
+rcpt to:fred@HOSTNAME
+data
+.
+quit
+****
+#
+# taint trap defated by using create_file
+# goes on to fail on perms
+exim -bs -odi -DOPT=DIR/test-mail
+helo test
+mail from:someone@some.domain
+rcpt to:bill@HOSTNAME
data
.
quit
data
.
quit