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

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Jul 28 10:36:36 2017
New Revision: 250655

URL: https://gcc.gnu.org/viewcvs?rev=250655&root=gcc&view=rev
Log:
Do not handle VLA in sanitization (PR sanitizer/81460).

2017-07-28  Martin Liska  <mli...@suse.cz>

        PR sanitizer/81460
        * sanopt.c (sanitize_rewrite_addressable_params): Do not rewrite
        parameters that are of a variable-length.
2017-07-28  Martin Liska  <mli...@suse.cz>

        PR sanitizer/81460
        * gcc.dg/asan/pr81460.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/asan/pr81460.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sanopt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to