[Spice-devel] [PATCH 8/8] server/smartcard: ignore VSC_Init from client

Hans de Goede hdegoede at redhat.com
Fri Feb 4 00:43:42 PST 2011


Ack.

On 02/03/2011 08:02 PM, Alon Levy wrote:
> ---
>   server/smartcard.c |    3 +++
>   1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/server/smartcard.c b/server/smartcard.c
> index 65164c8..916d2f1 100644
> --- a/server/smartcard.c
> +++ b/server/smartcard.c
> @@ -443,6 +443,9 @@ static int smartcard_channel_handle_message(RedChannel *channel, SpiceDataHeader
>               return TRUE;
>               break;
>           case VSC_Init:
> +            // ignore - we should never get this anyway
> +            return TRUE;
> +            break;
>           case VSC_Error:
>           case VSC_ATR:
>           case VSC_CardRemove:


More information about the Spice-devel mailing list