[Spice-devel] [PATCH 6/9] server/smartcard: ignore VSC_Init from client
Alon Levy
alevy at redhat.com
Wed Feb 9 02:20:45 PST 2011
---
server/smartcard.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/server/smartcard.c b/server/smartcard.c
index bd2cb25..9fbeead 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:
--
1.7.4
More information about the Spice-devel
mailing list