diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-08-14 14:38:24 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2009-08-14 14:38:24 +0000 |
commit | 065312cfdd633dae0cf725104e07a2c05e2747e7 (patch) | |
tree | e1cc2ba87712280d0c21af8a4038218be7caf21c /gcc/c-lex.c | |
parent | 8cac884c9a984c01b1c750c51767ebb908b175d6 (diff) | |
download | gcc-065312cfdd633dae0cf725104e07a2c05e2747e7.zip gcc-065312cfdd633dae0cf725104e07a2c05e2747e7.tar.gz gcc-065312cfdd633dae0cf725104e07a2c05e2747e7.tar.bz2 |
c-lex.c (c_lex_with_flags): Increase size of local variable to avoid memory clobber.
* c-lex.c (c_lex_with_flags): Increase size of local variable
to avoid memory clobber.
From-SVN: r150756
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 0b6fcc0..0c6cdab 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; |