[Libreoffice-commits] core.git: desktop/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Jun 12 07:51:40 UTC 2017


 desktop/source/app/updater.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9d186e5b0843fc90d587d2bf8199f71f12ab7829
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Jun 12 01:25:37 2017 +0200

    make it easier to extend the response
    
    Change-Id: I95d60fe38bbb16c502eccaae3bc25a35dd269d1a
    Reviewed-on: https://gerrit.libreoffice.org/38682
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 118c3981815f..e9d9997ed3a4 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -338,7 +338,7 @@ update_file parse_update_file(const orcus::json::detail::node& rNode)
         throw invalid_update_info();
     }
 
-    if (rNode.child_count() != 4)
+    if (rNode.child_count() < 4)
     {
         SAL_WARN("desktop.update", "invalid update or language file entry");
         throw invalid_update_info();


More information about the Libreoffice-commits mailing list