kit/Kit.cpp | 2 ++ 1 file changed, 2 insertions(+) New commits: commit f0524b3ac945dd98b5106f961cc48de9e4a79bee Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Jan 1 13:06:13 2017 -0500
wsd: must have document lock when accessing LoKit instance Change-Id: Ie26178448fb513ed08acc61ec34c1af97e76eda8 Reviewed-on: https://gerrit.libreoffice.org/32617 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/kit/Kit.cpp b/kit/Kit.cpp index 4b67507..fb1464a 100644 --- a/kit/Kit.cpp +++ b/kit/Kit.cpp @@ -552,6 +552,8 @@ public: " passwordProvided=" << _haveDocPassword << " password='" << _docPassword << "'"); + Util::assertIsLocked(_documentMutex); + if (_isDocPasswordProtected && _haveDocPassword) { // it means this is the second attempt with the wrong password; abort the load operation _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits