Statistics
| Branch: | Revision:

root / hw / ccid-card-passthru.c @ a0f42610

History | View | Annotate | Download (10.2 kB)

# Date Author Comment
7e62255a 11/29/2011 12:20 am Markus Armbruster

ccid: Fix buffer overrun in handling of VSC_ATR message

ATR size exceeding the limit is diagnosed, but then we merrily use it
anyway, overrunning card->atr[].

The message is read from a character device. Obvious security
implications unless the other end of the character device is trusted....

70f24fb6 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_close() -> qemu_chr_delete()

Signed-off-by: Anthony Liguori <>

2cc6e0a1 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_write() -> qemu_chr_fe_write()

Signed-off-by: Anthony Liguori <>

6d65516f 04/04/2011 01:29 am Stefan Weil

w32: Fix compilation (wrong include file)

arpa/inet.h is not available for w32, so commit
edbb21363fbfe40e050f583df921484cbc31c79d breaks
w32 compilations.

This is fixed by using qemu_socket.h.

Signed-off-by: Stefan Weil <>
Reviewed-by: Alon Levy <>...

edbb2136 04/02/2011 03:07 am Alon Levy

ccid: add passthru card device

The passthru ccid card is a device sitting on the usb-ccid bus and
using a chardevice to communicate with a remote device using the
VSCard protocol defined in libcacard/vscard_common.h

Usage docs available in following patch in docs/ccid.txt...