diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-20 12:56:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-20 16:10:35 +0100 |
commit | 27dec7c2b1ce0a25ff42465bd4db8ecfc912ec73 (patch) | |
tree | 90134cf09807e707875eccb913fd6632abcfc2d0 /include | |
parent | 6cbdaed5b27e803be7b6190ca3f92698c48ac6e9 (diff) |
afl-clang-fast apparently miscompiles this
leading to the delete not getting called,
which results in temp files leaking and eventually
filling tmp
I wonder if generic clang suffers from this ?
Change-Id: Iecc266544b3c779026593a16e96bb1a2dfbe8328
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/ref.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx index 7ae2535b5bd0..b98fd79dd211 100644 --- a/include/tools/ref.hxx +++ b/include/tools/ref.hxx @@ -153,7 +153,11 @@ public: class TOOLS_DLLPUBLIC SvRefBase { // the only reason this is not bool is because MSVC cannot handle mixed type bitfields +#if defined(__AFL_HAVE_MANUAL_INIT) + bool bNoDelete; +#else unsigned int bNoDelete : 1; +#endif unsigned int nRefCount : 31; protected: |