Files
clang-p2996/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
Balazs Benics 0954dc3fb9 [analyzer] CStringChecker buffer access checks should check the first bytes
By not checking if the first byte of the buffer is accessible,
we missed some reports in the Juliet benchmark.

(Juliet CWE-124 Buffer Underwrite: memcpy, memmove)
https://discourse.llvm.org/t/patches-inspired-by-the-juliet-benchmark/73106

Depends on D159108

Differential Revision: https://reviews.llvm.org/D159109
2023-09-11 14:19:33 +02:00

102 KiB