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
rda
[exim.git]
/
src
/
src
/
rda.c
diff --git
a/src/src/rda.c
b/src/src/rda.c
index fb3714ea21bc2e35cd507d42e35f4a0761620fd1..3b458430afe35e29206f87e1bb2f26a508d48b1d 100644
(file)
--- a/
src/src/rda.c
+++ b/
src/src/rda.c
@@
-179,10
+179,8
@@
struct stat statbuf;
/* Reading a file is a form of expansion; we wish to deny attackers the
capability to specify the file name. */
/* Reading a file is a form of expansion; we wish to deny attackers the
capability to specify the file name. */
-if (
is_tainted(
filename))
+if (
*error = is_tainted2(filename, 0, "Tainted name '%s' for file read not permitted\n",
filename))
{
{
- *error = string_sprintf("Tainted name '%s' for file read not permitted\n",
- filename);
*yield = FF_ERROR;
return NULL;
}
*yield = FF_ERROR;
return NULL;
}