By default glibc writes its diagnostics directly to tty so the 2>&1 | redirection in the test doesn't catch the *** stack smashing detected *** message, which in turn breaks printing the lit's progress bar. By defining the LIBC_FATAL_STDERR_ environment variable we force glibc to direct diagnostic messages to stderr.
Details
Details
- Reviewers
kcc filcab eugenis dvyukov samsonov - Commits
- rGe73af512a6ed: [Safestack] Fix the canary test to catch the libc's message regarding stack…
rCRT302628: [Safestack] Fix the canary test to catch the libc's message regarding stack…
rL302628: [Safestack] Fix the canary test to catch the libc's message regarding stack…
Diff Detail
Diff Detail
- Repository
- rL LLVM