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
Fix taint hybrid-checking on BSD
[users/jgh/exim.git]
/
src
/
src
/
functions.h
diff --git
a/src/src/functions.h
b/src/src/functions.h
index 2a2c0dbb8f9fa5bc799253394f525f0c450712e2..57314a677fb486b5ef0bc0a3783de08f7b227752 100644
(file)
--- a/
src/src/functions.h
+++ b/
src/src/functions.h
@@
-720,11
+720,14
@@
return ss;
string_copy_taint_trc((s), tainted, __FUNCTION__, __LINE__)
static inline uschar *
string_copy_taint_trc((s), tainted, __FUNCTION__, __LINE__)
static inline uschar *
-string_copy
(const uschar * s
)
+string_copy
_trc(const uschar * s, const char * func, int line
)
{
{
-return string_copy_taint
((s), is_tainted(s)
);
+return string_copy_taint
_trc((s), is_tainted(s), func, line
);
}
}
+#define string_copy(s) \
+ string_copy_trc((s), __FUNCTION__, __LINE__)
+
/*************************************************
* Copy, lowercase and save string *
/*************************************************
* Copy, lowercase and save string *