History | View | Annotate | Download (10.2 kB)
ccid: Fix buffer overrun in handling of VSC_ATR message
ATR size exceeding the limit is diagnosed, but then we merrily use itanyway, overrunning card->atr[].
The message is read from a character device. Obvious securityimplications unless the other end of the character device is trusted....
char: rename qemu_chr_close() -> qemu_chr_delete()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
char: rename qemu_chr_write() -> qemu_chr_fe_write()
w32: Fix compilation (wrong include file)
arpa/inet.h is not available for w32, so commitedbb21363fbfe40e050f583df921484cbc31c79d breaksw32 compilations.
This is fixed by using qemu_socket.h.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Reviewed-by: Alon Levy <alevy@redhat.com>...
ccid: add passthru card device
The passthru ccid card is a device sitting on the usb-ccid bus andusing a chardevice to communicate with a remote device using theVSCard protocol defined in libcacard/vscard_common.h
Usage docs available in following patch in docs/ccid.txt...