qtbase/tests/auto/concurrent/qtconcurrentthreadengine
Marc Mutz 32442c2b52 tst_QtConcurrentThreadEngine: fix UB (uninitialized boolean)
Says ubsan:

    tst_qtconcurrentthreadengine.cpp:96:17: runtime error: load of value 190, which is not a valid value for type 'bool'
    PASS   : tst_QtConcurrentThreadEngine::stresstest()

Initialize the variable using NSDMI.

Amends the start of the public history.

Reported-by: Even Oscar Andersen <even.oscar.andersen@qt.io>
Pick-to: 6.8 6.7 6.5 6.2 5.15
Task-number: QTBUG-115264
Change-Id: Ie55bc0a697a71074066294d64821c8a7a0d1f467
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Even Oscar Andersen <even.oscar.andersen@qt.io>
2024-07-06 07:31:37 +00:00
..