Re:Heap-based buffer overflow in Sudo
by scatters on Tuesday January 26, 2021 @06:46PM
(#25922430)
It's called AddressSanitizer. You enable it with the compiler flag -fsanitize=address. It's supported by clang, gcc and lately MSVC.
[ Parent
| on HN ]
Address Sanitizer is not perfect, nor is it suitable to ship in production.
Re:Heap-based buffer overflow in Sudo
by kevingadd on Wednesday January 27, 2021 @01:15AM
(#25924902)
Asan binaries should never be shipped in security sensitive environments. It's not designed for that. It's unsafe.
You shouldn't use ASan in release builds since it may have exploitable vulnerabilities.