mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-10 23:57:44 +00:00
Explicitly specify size of SpiceMsgSmartcardData
Without this, the demarshalling code does not know we expect exactly SpiceMsgSmartcardData::length bytes, and has to guess it from the amount of data which was sent Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
384698af37
commit
1c97fea956
@ -1334,7 +1334,7 @@ channel SmartcardChannel : BaseChannel {
|
||||
vsc_message_type type;
|
||||
uint32 reader_id;
|
||||
uint32 length;
|
||||
uint8 data[] @end;
|
||||
uint8 data[length] @end @nomarshal;
|
||||
} @ctype(SpiceMsgSmartcard) data = 101;
|
||||
|
||||
client:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user