summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-10-02 19:19:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-10-03 10:39:38 +0200
commit12e7a664f8e0accea5b52d9537d8133a5e7a2c2c (patch)
treed47409f0a671d30b2703b90b28f7b5d1b4fc184c /ucb
parent74ed4d1937449009343676546a937420a1ef5570 (diff)
cid#1554974 Data race condition
Change-Id: I9b9b1bb9f63b9eaf294b27afbde4c39e773ede8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174406 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/filrow.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucb/source/ucp/file/filrow.cxx b/ucb/source/ucp/file/filrow.cxx
index e352e7919907..066233aafc2f 100644
--- a/ucb/source/ucp/file/filrow.cxx
+++ b/ucb/source/ucp/file/filrow.cxx
@@ -90,6 +90,7 @@ XRow_impl::~XRow_impl()
sal_Bool SAL_CALL
XRow_impl::wasNull()
{
+ std::scoped_lock aGuard( m_aMutex );
return m_nWasNull;
}