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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:af027826292351218785f893d1c42fe28ae3ed9f

commit r11-7303-gaf027826292351218785f893d1c42fe28ae3ed9f
Author: Harald Anlauf <anl...@gmx.de>
Date:   Fri Feb 19 20:21:27 2021 +0100

    PR fortran/99147 - Sanitizer detects heap-use-after-free in gfc_add_flavor

    Reverse order of conditions to avoid invalid read.

    gcc/fortran/ChangeLog:

            * symbol.c (gfc_add_flavor): Reverse order of conditions.

Reply via email to