[Bug middle-end/93514] missing warning on a strlen with a negative or just past-the-end offset

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 30 19:01:00 GMT 2020


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The array is flexible array member and a2.a + 3 points to tail padding in the
structure, I think it is just fine to store something in there.


More information about the Gcc-bugs mailing list