summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextmarkdownimporter.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-01-10 18:10:48 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-12 14:58:16 +0000
commitbfbe4cab66958c7b96fb9033c13ae378cb450bec (patch)
tree34fb721dd438684c27586a13bb235cd21f7adb1c /src/gui/text/qtextmarkdownimporter.cpp
parent1b464c0a22c4ef7e066bf50123e067fa3eb60e5a (diff)
Don't access QObject::objectName during QThread start
This is a data race, as the thread accesses QObject::objectName on the QThread instance while the thread owning the QThread might modify the objectName. Instead, make a copy in the QThreadPrivate that can be accessed safely. Task-number: QTBUG-96718 Change-Id: I10701551d498993ca5055daf161636bfb648840c Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 4a4240f1bdf184a52a22b94f37090b07434770e7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/gui/text/qtextmarkdownimporter.cpp')
0 files changed, 0 insertions, 0 deletions