Skip to content
Commit 03176d78 authored by Jason Molenda's avatar Jason Molenda
Browse files

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
parent d50c398c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment