desktop/source/app/updater.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9d186e5b0843fc90d587d2bf8199f71f12ab7829 Author: Markus Mohrhard <[email protected]> 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 <[email protected]> Reviewed-by: Markus Mohrhard <[email protected]> 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(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
