3 Jul
2024
3 Jul
'24
12:59 p.m.
Can we get an incorrect pointer in desktop_shm, for example NULL, which will lead to null pointer dereference? It's probably better to move to ELSE after checking the status. ```C if (status) ret = FALSE; else ret = !!(desktop_shm->flags & DF_WINE_VIRTUAL_DESKTOP); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5984#note_75019