[Libreoffice-commits] core.git: include/tools
Caolán McNamara
caolanm at redhat.com
Thu Aug 20 08:10:58 PDT 2015
include/tools/ref.hxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 27dec7c2b1ce0a25ff42465bd4db8ecfc912ec73
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Aug 20 12:56:16 2015 +0100
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
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx
index 7ae2535..b98fd79 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:
More information about the Libreoffice-commits
mailing list