diff options
| author | Yuhang Zhao <2546789017@qq.com> | 2022-05-08 21:35:05 +0800 |
|---|---|---|
| committer | Yuhang Zhao <2546789017@qq.com> | 2022-05-10 05:14:58 +0800 |
| commit | 71322ef36142570edc94c361ceb21f770303aceb (patch) | |
| tree | e9b6954cf026ad3f5b21e4fc97debeba05f924bf /src/plugins/platforms/wasm/qwasmintegration.cpp | |
| parent | 741afd67529ccc51b2686f59f897b6136e041719 (diff) | |
Windows QPA: Fix crash in some rare cases
For the WM_SETTINGCHANGE message, lParam sometimes may be NULL [1]
and that will lead to crash without extra safe guard.
Amends commit qtbase/1ed449e168af133184633d174fd7339a13d1d595
[1] https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-settingchange
Change-Id: Ibd1e94b4c1d7882db0719c31a66a5fcc9299c3bd
Reviewed-by: Nodir Temirkhodjaev <nodir.temir@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.cpp')
0 files changed, 0 insertions, 0 deletions
