diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-22 12:52:38 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:02:13 -0700 |
| commit | 4e7324ae9b18f290921dd5c1472eaa95baf3a114 (patch) | |
| tree | 1e4120d132fd6ee849ed4c1cf9ff81614609cd7b /tokenize.c | |
| parent | 866a7884ea2e23eba1b5fd65dcae26d28670004d (diff) | |
| download | sparse-dev-4e7324ae9b18f290921dd5c1472eaa95baf3a114.tar.gz | |
Don't allow string concatenation to overflow MAX_STRING.
Diffstat (limited to 'tokenize.c')
| -rw-r--r-- | tokenize.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -529,8 +529,6 @@ static int get_char_token(int next, stream_t *stream) return nextchar(stream); } -#define MAX_STRING 2048 - static int get_string_token(int next, stream_t *stream) { static char buffer[MAX_STRING]; |
