| commit | 03176d781f32d265cf3333af6abb22577c160f12 | [log] [tgz] |
|---|---|---|
| author | Jason Molenda <jmolenda@apple.com> | Thu Jan 22 00:41:05 2015 +0000 |
| committer | Jason Molenda <jmolenda@apple.com> | Thu Jan 22 00:41:05 2015 +0000 |
| tree | 439d295980578a91277eadb5b43c4c576ddb783a | |
| parent | d50c398c69df970e393566bdc2dd4e5100b78cda [diff] |
File::Read(), when asked to read the contents of a file into a heap buffer and to add a nul terminator byte, was incorrectly resizing its buffer so the nul terminator was not included. Problem found by clang ASAN instrumentation when using an expression prefix file which was read via this mechanism. <rdar://problem/19556459> llvm-svn: 226753