[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: ccid: check ccid apdu length
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] usb: ccid: check ccid apdu length |
Date: |
Fri, 03 Feb 2017 10:17:34 +0100 |
On Fr, 2017-02-03 at 00:52 +0530, P J P wrote:
> From: Prasad J Pandit <address@hidden>
>
> CCID device emulator uses Application Protocol Data Units(APDU)
> to exchange command and responses to and from the host.
> The length in these units couldn't be greater than 65536. Add
> check to ensure the same. It'd also avoid potential integer
> overflow in emulated_apdu_from_guest.
>
> Reported-by: Li Qiang <address@hidden>
> Signed-off-by: Prasad J Pandit <address@hidden>
Added to usb queue.
thanks,
Gerd