-
Victor Toso authored
By adding a guard to not handle channel-up on SpiceUsbredirChannel in case struct usbredirhost wasn't initialized yet. Same guard is in place for the generic usbredir_handle_msg() function to avoid handling Server's message while Client's initialization is not done. As mentioned in commit 291f3e44, this isn't a problem for graphical clients as some initialization is done to present the shareable usb devices to user. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1399838 Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
972a61db