[Libreoffice-commits] core.git: external/libcmis

Andras Timar andras.timar at collabora.com
Wed Jul 8 05:30:27 PDT 2015


 external/libcmis/UnpackedTarball_cmis.mk |    1 +
 external/libcmis/tdf90351.patch          |   10 ++++++++++
 2 files changed, 11 insertions(+)

New commits:
commit 5c10e8cd0eedefc2dcc905154c4daa142561aef3
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Jul 8 14:16:55 2015 +0200

    tdf#90351 libcmis: prevent crash
    
    Change-Id: I2d9673bb261a2586e1802f025c900962249cfc42
    Reviewed-on: https://gerrit.libreoffice.org/16854
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/external/libcmis/UnpackedTarball_cmis.mk b/external/libcmis/UnpackedTarball_cmis.mk
index 16d4400..b4b596b 100644
--- a/external/libcmis/UnpackedTarball_cmis.mk
+++ b/external/libcmis/UnpackedTarball_cmis.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,cmis,0))
 
 $(eval $(call gb_UnpackedTarball_add_patches,cmis, \
 						external/libcmis/libcmis-libxml2_compatibility.patch \
+						external/libcmis/tdf90351.patch \
 ))
 
 ifeq ($(OS)$(COM),WNTMSC)
diff --git a/external/libcmis/tdf90351.patch b/external/libcmis/tdf90351.patch
new file mode 100644
index 0000000..fe0e5c5
--- /dev/null
+++ b/external/libcmis/tdf90351.patch
@@ -0,0 +1,10 @@
+--- src/libcmis/atom-session.cxx
++++ src/libcmis/atom-session.cxx
+@@ -233,6 +233,7 @@ libcmis::ObjectPtr AtomPubSession::createObjectFromEntryDoc( xmlDocPtr doc )
+                 else
+                 {
+                     // Not a valid CMIS atom entry... weird
++                    cmisObject.reset( new AtomDocument( this, node ) );
+                 }
+             }
+             xmlXPathFreeObject( xpathObj );


More information about the Libreoffice-commits mailing list