From dc09799bb92c397fbf48f0efe863cd358dc6a1f8 Mon Sep 17 00:00:00 2001 From: "Matthias Huetsch [mhu]" Date: Thu, 25 Nov 2010 14:14:24 +0100 Subject: #i115784# soltools: fix memory errors uncovered by valgrind and other tools. --- soltools/cpp/_lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'soltools/cpp/_lex.c') diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c index 2ff188ff2264..2236fd9db260 100644 --- a/soltools/cpp/_lex.c +++ b/soltools/cpp/_lex.c @@ -262,7 +262,7 @@ void bigfsm[j][fp->state] = (short) nstate; continue; case C_ALPH: - for (j = 0; j <= 256; j++) + for (j = 0; j < 256; j++) #ifdef S390 if( isalpha( j ) || (j == '_') ) #else -- cgit