git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Taint: invert the taint-check implementation control #define
[users/jgh/exim.git]
/
src
/
src
/
store.c
diff --git
a/src/src/store.c
b/src/src/store.c
index fbfd20d1de64d34fb276e183aad8483b91cc872b..a8f5a07fcecfaaacced5c588d0eadc6ec7634fe6 100644
(file)
--- a/
src/src/store.c
+++ b/
src/src/store.c
@@
-180,6
+180,7
@@
static void internal_tainted_free(storeblock *, const char *, int linenumber);
/******************************************************************************/
/******************************************************************************/
+#ifndef TAINT_CHECK_FAST
/* Slower version check, for use when platform intermixes malloc and mmap area
addresses. */
/* Slower version check, for use when platform intermixes malloc and mmap area
addresses. */
@@
-207,6
+208,7
@@
return FALSE;
hit:
return pool >= POOL_TAINT_BASE;
}
hit:
return pool >= POOL_TAINT_BASE;
}
+#endif
void
void