We should pass res as third parameter to COMMON_INTERCEPTOR_WRITE_RANGE , not len, because otherwise we can write to unrelated memory (in MSan) or get wrong report (in ASan);
Details
Details
- Reviewers
kcc dvyukov samsonov - Commits
- rG50ca4464c4de: [sanitizer] Fix third parameter in COMMON_INTERCEPTOR_WRITE_RANGE in recv and…
rCRT261898: [sanitizer] Fix third parameter in COMMON_INTERCEPTOR_WRITE_RANGE in recv and…
rL261898: [sanitizer] Fix third parameter in COMMON_INTERCEPTOR_WRITE_RANGE in recv and…
Diff Detail
Diff Detail
- Repository
- rL LLVM