Skip to content
Snippets Groups Projects
Commit c2ccc98c authored by Yoshiaki Tamura's avatar Yoshiaki Tamura Committed by Anthony Liguori
Browse files

vnc: check fd before calling qemu_set_fd_handler2() in vnc_client_write()


Setting fd = -1 to qemu_set_fd_handler2() causes bus error at FD_SET
in main_loop_wait().

Signed-off-by: default avatarYoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit ac71103d)
parent 8b84b68e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment