diff options
author | Kostya Serebryany <kcc@google.com> | 2017-04-20 23:38:10 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2017-04-20 23:38:10 +0000 |
commit | b2d291eb9b8fb94a2f560126b64afe8f55832506 (patch) | |
tree | 1aa5876220da796ea9a66568d774583a8a190bb8 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 9610a2625184e77de37f240245251516ecf57132 (diff) | |
download | bcm5719-llvm-b2d291eb9b8fb94a2f560126b64afe8f55832506.tar.gz bcm5719-llvm-b2d291eb9b8fb94a2f560126b64afe8f55832506.zip |
sanitizer: fix crash with textdomain(NULL) interceptor
Summary:
The textdomain function accepts a NULL parameter (and should then return the
current message domain). Add a check for this and include ASAN tests.
Link: https://github.com/google/sanitizers/issues/787
Reviewers: m.guseva, kcc
Reviewed By: kcc
Subscribers: kubamracek
Differential Revision: https://reviews.llvm.org/D32318
llvm-svn: 300924
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions