[PATCH] [Sanitizers] Intercept snprintf_l() on FreeBSD

Ed Maste emaste at freebsd.org
Wed Nov 26 05:50:35 PST 2014


================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:906-908
@@ -892,1 +905,5 @@
+
+// FIXME: under ASan the REAL() call below may write to freed memory and
+// corrupt its metadata. See
+// https://code.google.com/p/address-sanitizer/issues/detail?id=321.
 #define VASPRINTF_INTERCEPTOR_IMPL(vname, strp, ...)                           \
----------------
Just to confirm, the issue reported in this comment is not directly tied to the new *printf_l functionality?

http://reviews.llvm.org/D6418






More information about the llvm-commits mailing list