Avoid overflowing buffer, patch by Algeris Kirtzidis!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48741 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/PPLexerChange.cpp b/lib/Lex/PPLexerChange.cpp
index bd0ff7f..c156751 100644
--- a/lib/Lex/PPLexerChange.cpp
+++ b/lib/Lex/PPLexerChange.cpp
@@ -86,7 +86,7 @@
   // left, we can just grow it.  This means we only have to do the new 1/16th as
   // often.
   
-  Token *LookaheadTokens = new Token[N];
+  Token *LookaheadTokens = new Token[N+1];
 
   // Read N+1 tokens into LookaheadTokens.  After this loop, Tok is the token
   // to return.