diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-14 14:38:24 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-14 14:38:24 +0000 |
commit | a0ef520163e002c6a108b448c23defeb28df0839 (patch) | |
tree | e1cc2ba87712280d0c21af8a4038218be7caf21c /gcc/c-lex.c | |
parent | 0f6e19918ff03add000411932be9ff42937fc1d2 (diff) | |
download | gcc-a0ef520163e002c6a108b448c23defeb28df0839.tar.gz |
* c-lex.c (c_lex_with_flags): Increase size of local variable
to avoid memory clobber.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150756 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 0b6fcc00b31..0c6cdab9dff 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -390,7 +390,7 @@ c_lex_with_flags (tree *value, location_t *loc, unsigned char *cpp_flags, case CPP_HASH: case CPP_PASTE: { - unsigned char name[4]; + unsigned char name[8]; *cpp_spell_token (parse_in, tok, name, true) = 0; |