The dereference of pointer ctx is not protected by its null check, this could be problematic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nit
| compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc | ||
|---|---|---|
| 1376–1377 | if (res >= 0 && ctx) to avoid nesting. | |
if (res >= 0 && ctx) to avoid nesting.