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
Track tainted data and refuse to expand it
[exim.git]
/
src
/
src
/
lookups
/
dnsdb.c
diff --git
a/src/src/lookups/dnsdb.c
b/src/src/lookups/dnsdb.c
index 70203fa6d89b13d5414b4b147019ef7c1a52b536..5654b5615f418502b85eec5f12f93619e366b958 100644
(file)
--- a/
src/src/lookups/dnsdb.c
+++ b/
src/src/lookups/dnsdb.c
@@
-549,7
+549,7
@@
while ((domain = string_nextinlist(&keystring, &sep, NULL, 0)))
/* Reclaim unused memory */
-
store_reset(yield->s + yield->ptr + 1
);
+
gstring_release_unused(yield
);
/* If yield NULL we have not found anything. Otherwise, insert the terminating
zero and return the result. */