diff options
author | Axel Spoerl <[email protected]> | 2025-06-04 16:16:33 +0200 |
---|---|---|
committer | Axel Spoerl <[email protected]> | 2025-06-05 08:48:25 +0200 |
commit | 941882a7443a83a8346674e98b6a5ad711f588ff (patch) | |
tree | 36a626b794d510c2a9c6239b4dc8b20477de6e16 /src/plugins/tts/sapi/qtexttospeech_sapi.cpp | |
parent | 8ead156d0a8c0df723658b4cfaf246f4e4b2de00 (diff) |
QTextToSpeechProcessorFlite::startTokenTimer() reads the already played
time from m_audioSink. If the first token passed to the processor is
invalid, m_audioSink hasn't been created. The application crashed with
a nullptr access.
Assume that played time is 0, when there is no audiosink.
Add an autotest.
Fixes: QTBUG-128818
Pick-to: 6.10 6.9 6.8
Change-Id: I212a413967fb5b0d3a1190d2ed3f34ac434aeb77
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/plugins/tts/sapi/qtexttospeech_sapi.cpp')
0 files changed, 0 insertions, 0 deletions