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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Mon Aug 15 11:19:34 2016
New Revision: 239476

URL: https://gcc.gnu.org/viewcvs?rev=239476&root=gcc&view=rev
Log:
Fix invalid memory access in gcc.c (driver/72765)

        Backported from mainline
        2016-08-15  Martin Liska  <mli...@suse.cz>

        PR driver/72765
        * gcc.c (do_spec_1): Call save_string with the right size.
        (save_string): Do an assert about string we copy.

Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/gcc.c

Reply via email to