[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/26] hw/ccid-card-passthru.c: add atr check
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH 12/26] hw/ccid-card-passthru.c: add atr check |
Date: |
Fri, 22 Mar 2013 15:23:50 +0100 |
On Mon, Mar 18, 2013 at 2:10 PM, Alon Levy <address@hidden> wrote:
> + if (len > 2 + historical_length + opt_bytes) {
> + DPRINTF(card, D_WARN,
> + "atr too long: len %d, but hist/opt %d/%d, T1 0x%X\n",
> + len, historical_length, opt_bytes, data[1]);
> + /* let it through */
Why "let it through" if it's too long?
--
Marc-André Lureau
- [Qemu-devel] [PATCH 03/26] ccid: make backend_enum_table "static const" and adjust users, (continued)
- [Qemu-devel] [PATCH 03/26] ccid: make backend_enum_table "static const" and adjust users, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 02/26] ccid-card-emul: do not crash if backend is not provided, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 04/26] ccid: declare DEFAULT_ATR table to be "static const", Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 07/26] build-sys: must link with -fstack-protector, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 06/26] util: move socket_init() to osdep.c, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 05/26] libcacard: use system config directory for nss db on win32, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 11/26] libcacard: teach vscclient to use GMainLoop for portability, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 10/26] libcacard: vscclient to use QemuThread for portability, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 12/26] hw/ccid-card-passthru.c: add atr check, Alon Levy, 2013/03/18
- Re: [Qemu-devel] [PATCH 12/26] hw/ccid-card-passthru.c: add atr check,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 08/26] libcacard: fix mingw64 cross-compilation, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 09/26] libcacard: split vscclient main() from socket reading, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 15/26] hw/usb/dev-smartcard-reader.c: nicer debug messages, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 13/26] ccid-card-passthru, dev-smartcard-reader: add debug environment variables, Alon Levy, 2013/03/18
- [Qemu-devel] [PATCH 16/26] hw/usb/dev-smartcard-reader.c: remove aborts (never triggered, but just in case), Alon Levy, 2013/03/18