diff options
| author | Jason Molenda <jmolenda@apple.com> | 2015-04-30 23:42:56 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2015-04-30 23:42:56 +0000 |
| commit | ebd01b0ae68f7eff7e671f5b2df921e59e73e9a9 (patch) | |
| tree | 1b5195097d0f04b7394fccce8bd21e93caaf8fa0 /llvm/lib/Support/MemoryBuffer.cpp | |
| parent | d0014bf6f815ac66091a00cedd78f03a529879c9 (diff) | |
| download | bcm5719-llvm-ebd01b0ae68f7eff7e671f5b2df921e59e73e9a9.tar.gz bcm5719-llvm-ebd01b0ae68f7eff7e671f5b2df921e59e73e9a9.zip | |
Guard against the case where the Write method is called with
an argument pointing into the middle of m_buffer and then
Write() calls GrowBuffer() to resize m_buffer, leaving
the content argument pointing into deallocated memory.
Patch by Kate Stone.
<rdar://problem/20756722>
llvm-svn: 236286
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions

