[Spice-devel] [PATCH 8/8] server/smartcard: ignore VSC_Init from client
Alon Levy
alevy at redhat.com
Thu Feb 3 11:02:59 PST 2011
---
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:
--
1.7.4
More information about the Spice-devel
mailing list