check bounding volumes for validity in concurrent reduction step


The multithreaded job doesn't check the visited bounding volumes for
validity before adding them to the list to process further. This leads
to crashes, namely nullptr-dereferences.

Fixes: QTBUG-108405
Pick-to: 6.4
Change-Id: I16a7c008c7ac4f04be40bdbba05d8c745c1c825e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commit23a0432451cab1e434df0efda391dbeb4790e9f0
parent56267ef68be8fa4a38ce570c8f1ad378457b30fb
authorChristian Riggenbach <criggenbach@magahugu.ch>
committerChristian Riggenbach <criggenbach@magahugu.ch>
commit timeThu, 15 Dec 2022 08:23:48 +0100