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 fortran/55475] heap-buffer-overflow in fortran/error.c


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55475

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-12-03 08:56:22 UTC ---
Author: burnus
Date: Mon Dec  3 08:56:11 2012
New Revision: 194076

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194076
Log:
2012-12-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/55475
        * scanner.c (gfc_next_char_literal): Fix setting locus
        to free_line_length for the error message.
        * error.c (show_locus): Fix potential out-of-bounds
        read.


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/error.c
    trunk/gcc/fortran/scanner.c


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