Re: r261461 - Lex: Never overflow the file in HeaderMap::lookupFilename()

2016-02-22 Thread Rafael EspĂ­ndola via cfe-commits
On 20 February 2016 at 19:14, Duncan P. N. Exon Smith via cfe-commits wrote: > Author: dexonsmith > Date: Sat Feb 20 18:14:36 2016 > New Revision: 261461 > > URL: http://llvm.org/viewvc/llvm-project?rev=261461&view=rev > Log: > Lex: Never overflow the file in HeaderMap::lookupFilename() > > If a h

r261461 - Lex: Never overflow the file in HeaderMap::lookupFilename()

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 18:14:36 2016 New Revision: 261461 URL: http://llvm.org/viewvc/llvm-project?rev=261461&view=rev Log: Lex: Never overflow the file in HeaderMap::lookupFilename() If a header map file is corrupt, the strings in the string table may not be null-terminated. The lo