[Bug middle-end/92307] missing -Wstringop-overflow on a memcpy into an array with out-of-bounds variable offset

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 31 16:40:00 GMT 2019


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-10-31
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=89427
             Blocks|                            |88443
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
I'm testing a patch that diagnoses this.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
[Bug 88443] [meta-bug] bogus/missing -Wstringop-overflow warnings


More information about the Gcc-bugs mailing list