diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-10-12 21:32:30 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-10-12 21:32:30 +0000 |
commit | f4ebc08831d0a42d8ef455c5b773da888d957087 (patch) | |
tree | cf5277d91ccac5023f8eaf9ac2537c1f6f0ad3ab /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 9e593499b91261d85f35eb6187369e11529aa12d (diff) | |
download | bcm5719-llvm-f4ebc08831d0a42d8ef455c5b773da888d957087.tar.gz bcm5719-llvm-f4ebc08831d0a42d8ef455c5b773da888d957087.zip |
[asan] Zero initialize sem_t in sem_init.
Old version of sem_init (GLIBC_2.0) fails to initialize parts of
sem_t that are used in sem_timedwait. This is fixed in GLIBC_2.1,
but since ASan interceptors downgrade sem_* to the oldest available
version, this can introduce bugs that are only present in sanitized
build. Workaround by zero-initializing sem_t in sem_init.
llvm-svn: 250113
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions