[Bug c/115185] Missing "too long" warning when string-array size doesn't include NULL byte

slyfox at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 15 21:33:44 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115185

--- Comment #16 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
Sounds reasonable. Proposed possible changes upstream:
- elfutils:
https://patchwork.sourceware.org/project/elfutils/patch/20240715212340.190915-1-slyich@gmail.com/
- strace: https://github.com/strace/strace/pull/308


More information about the Gcc-bugs mailing list