git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Track tainted data and refuse to expand it
[users/heiko/exim.git]
/
src
/
src
/
lookups
/
sqlite.c
diff --git
a/src/src/lookups/sqlite.c
b/src/src/lookups/sqlite.c
index 5da2de814dd5eb7bf190342a62ec50b8c1d6bd1a..6200d6c820503f184b68f76841d5bd2fd1d1315a 100644
(file)
--- a/
src/src/lookups/sqlite.c
+++ b/
src/src/lookups/sqlite.c
@@
-131,7
+131,7
@@
if (opt != NULL) return NULL; /* No options recognized */
while ((c = *t++) != 0) if (c == '\'') count++;
if (count == 0) return s;
-t = quoted = store_get(Ustrlen(s) + count + 1);
+t = quoted = store_get(Ustrlen(s) + count + 1
, is_tainted(s)
);
while ((c = *s++) != 0)
{