This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/67484] options-save.c sanitizer asan detects freed storage referenced heap-use-after-free


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

--- Comment #10 from Martin LiÅka <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Dec 11 10:59:29 2015
New Revision: 231556

URL: https://gcc.gnu.org/viewcvs?rev=231556&root=gcc&view=rev
Log:
Fix PR target/67484

            Uros Bizjak  <ubizjak@gmail.com>

        PR target/67484
        * config/i386/i386.c (ix86_valid_target_attribute_tree):
        Use ggc_strdup to copy option_strings to opts->x_ix86_arch_string and
        opts->x_ix86_tune_string.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]