mirror of
https://github.com/nlohmann/json.git
synced 2026-09-01 14:07:14 +00:00
Flawfinder flags the bare identifier `read` as the POSIX read() syscall (CWE-120/CWE-20), producing several false-positive code-scanning alerts. Renaming the local variable removes them; the byte-copy itself is unchanged and remains bounds-checked (get_elements caps the copy to the bytes available). This is a pure rename with identical semantics. Signed-off-by: Niels Lohmann <mail@nlohmann.me> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>