[Bug analyzer/123085] -Wanalyzer-out-of-bounds: false positive after pointer arithmetic in relation with strlen()
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 15 17:08:09 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123085
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Last reconfirmed| |2025-12-15
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Should be fixed on trunk for gcc 16 by the above patch.
Also affects:
gcc 15: https://godbolt.org/z/a1f95dce3
gcc 14: https://godbolt.org/z/8YEan7vET
Keeping this bug open to track backporting
More information about the Gcc-bugs
mailing list