summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorJulian Kalinowski <julian.kalinowski@dataport.de>2020-03-31 12:45:31 +0200
committerAndras Timar <andras.timar@collabora.com>2020-04-01 22:52:36 +0200
commitb62c2306f0db584e367dcbb6172a783179153008 (patch)
treecb0cc662e12cdb89c50bddadb2102d710d0a3e01 /writerfilter
parent1f6d56897f19bee5af5883e6e8110e59894e9f1d (diff)
tdf#128662 Fix exception when accessing empty lock list
This fixes an Access Violation Exception when a WebDAV server says a resource is locked but does return an empty lockdiscovery element on WebDAV Propfind. Without this patch, the code only checks that a list exists, but it should also check if it contains elements before accessing it. Change-Id: I5f555a9b5805102242392b018ab5a8009c7a203c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91412 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91392 Tested-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org> Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org> (cherry picked from commit 37cb8ac6abfc9bfd44aed1a51f6374ad1e23583a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91396 Reviewed-by: Julian Kalinowski <julian.kalinowski@dataport.de> Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'writerfilter')
0 files changed, 0 insertions, 0 deletions