[Libreoffice-commits] .: Branch 'distro/suse/suse-3.6' - connectivity/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 5 08:57:25 PST 2012
connectivity/source/inc/ado/Aolewrap.hxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 085c2e3d7f6462df5d5ff7dff59605f210262614
Author: David Ostrovsky <david at ostrovsky.org>
Date: Sat Nov 3 01:09:35 2012 +0100
fdo#53070 fix access violation
Through that different initialization pIUnknown
got random address. The consequence was that
if (pIUnknown)
pIUnknown->Release();
ends with access viloation in
WpBase& WpBase::operator=(const WpBase& rhs)
Change-Id: I8b3c5de233d0868fea052c990cc83aed917117ae
(cherry picked from commit ac2cfed553b8c9303f86758e9fe8b70911db00cd)
Signed-off-by: Michael Stahl <mstahl at redhat.com>
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx
index 810603d..e4702ae 100644
--- a/connectivity/source/inc/ado/Aolewrap.hxx
+++ b/connectivity/source/inc/ado/Aolewrap.hxx
@@ -103,9 +103,8 @@ namespace connectivity
}
WpOLEBase(const WpOLEBase<T>& aWrapper)
- : WpBase(aWrapper)
- , pInterface(aWrapper.pInterface)
{
+ operator=(aWrapper);
}
virtual ~WpOLEBase()
More information about the Libreoffice-commits
mailing list