r226795 - in /trunk/gcc/go/gofrontend: MERGE pa...
ian@gcc.gnu.org
ian@gcc.gnu.org
Tue Aug 11 23:11:00 GMT 2015
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
More information about the Gcc-cvs
mailing list