tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 063cf9cd23d28c8b5678373040622321882026c2
parent ec6fbf1ca613c11dc783182a11bc1d04f6a3fb63
Author: teor <teor@torproject.org>
Date:   Thu, 29 Aug 2019 12:40:32 +1000

string: macOS --enable-fragile-hardening uses safe string functions

Comment-only change.

Diffstat:
Msrc/lib/string/compat_string.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/lib/string/compat_string.h b/src/lib/string/compat_string.h @@ -39,6 +39,9 @@ static inline int strcasecmp(const char *a, const char *b) { * appear to have a severe bug that can sometimes cause aborts in Tor. * Instead, use the non-checking variants. This is sad. * + * (If --enable-fragile-hardening is passed to configure, we use the hardened + * variants, which do not suffer from this issue.) + * * See https://trac.torproject.org/projects/tor/ticket/15205 */ #undef strlcat