CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/02/10 01:39:32
Modified files:
regress/lib/libc/explicit_bzero: explicit_bzero.c
Log message:
If running with ASAN, mark test_with{,out}_bzero() with the
no_sanitize_address attribute. ASAN doesn't seem to be able
to understand these lowlevel gymnastics with sigaltstack()
and segfaults in __intercept_memem().
This allows LibreSSL and other portable projects that use this
test run tests with ASAN enabled.
Issue reported and workaround suggested by Ilya Shipitsin
Paraphrasing millert: it's a little ugly but it's only a regress.