[Bug fortran/61632] Memory corruption on error when writing formatted data

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 20 17:35:00 GMT 2014


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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33155|0                           |1
        is obsolete|                            |

--- Comment #21 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 33160
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33160&action=edit
Updated patch taking care of valgrind error

This patch includes fixing the valgrind error by allocating and setting the
NULL byte at the end of the format string.



More information about the Gcc-bugs mailing list