diff options
author | Yury Gribov <y.gribov@samsung.com> | 2015-12-01 09:22:41 +0000 |
---|---|---|
committer | Yury Gribov <y.gribov@samsung.com> | 2015-12-01 09:22:41 +0000 |
commit | 67a001fd17d6b4e0174757cee994ee98401f9832 (patch) | |
tree | 021245fbabb12c82583e72e45968773715e4fa16 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | fe2c0ff942e8c9f407b2e669d366eb855ba0e127 (diff) | |
download | bcm5719-llvm-67a001fd17d6b4e0174757cee994ee98401f9832.tar.gz bcm5719-llvm-67a001fd17d6b4e0174757cee994ee98401f9832.zip |
[asan] Correctly release memory allocated during early startup.
Calloc interceptor initially allocates memory from temp buffer (to serve dlsyms called during asan_init). There is a chance that some non-instrumented library (or executable) has allocated memory with calloc before asan_init and got pointer from the same temporary buffer which later caused problems with free.
Inspired by https://github.com/google/sanitizers/issues/626
Differential Revision: http://reviews.llvm.org/D14979
llvm-svn: 254395
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions