This is the mail archive of the gcc-cvs@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]

r226795 - in /trunk/gcc/go/gofrontend: MERGE pa...


Author: ian
Date: Tue Aug 11 23:11:36 2015
New Revision: 226795

URL: https://gcc.gnu.org/viewcvs?rev=226795&root=gcc&view=rev
Log:
    compiler: Check for EOF in malformed signatures.
    
    When parsing a malformed function declaration with invalid parameters,
    gccgo would infinitely loop looking for the end of the function
    declaration.
    
    Fixes golang/go#11530, golang/go#11531.
    
    Reviewed-on: https://go-review.googlesource.com/13065

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/parse.cc


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