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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note even though the length that is passed to memcpy is zero, the arguments
have to be non-null.  So adding the check around the call to memcpy should fix
the issue.

Reply via email to