commit | bdfca8a22f41e7ad47fd2dac71e4d1387e2c0d4e | [log] [tgz] |
---|---|---|
author | Anastasia Belova <abelova@astralinux.ru> | Fri Jun 09 12:23:06 2023 +0300 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Sat Jun 10 00:00:24 2023 +0300 |
tree | efe4ee3ff87e1a73a9cc7f7a59e18fc8648fce8b | |
parent | 8fbf89a9669520ac09b3ae0013ff3eb34f8cab23 [diff] |
vnc: move assert in vnc_worker_thread_loop job may be NULL if queue->exit is true. Check it before dereference job. Fixes: f31f9c1080 ("vnc: add magic cookie to VncState") Signed-off-by: Anastasia Belova <abelova@astralinux.ru> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>