diff options
| author | Pavel Labath <labath@google.com> | 2013-06-12 07:45:04 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2013-06-12 07:45:04 +0000 |
| commit | 3b8f77d09d0fe9af717bd89b7407d81d18557d71 (patch) | |
| tree | 30a4ec224636251a0e70e47809383b38ff4fa628 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 0934e18b620ecaa6c7ec18ba5c4286b6122d6fb8 (diff) | |
| download | clang-3b8f77d09d0fe9af717bd89b7407d81d18557d71.tar.gz clang-3b8f77d09d0fe9af717bd89b7407d81d18557d71.tar.bz2 clang-3b8f77d09d0fe9af717bd89b7407d81d18557d71.tar.xz | |
Fix memory corruption in CStringChecker
Summary:
"register" functions for the checker were caching the checker objects in a
static variable. This caused problems when the function is called with a
different CheckerManager.
Reviewers: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D955
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
