Commit f11d22c1 authored by Yuanfang Zhang's avatar Yuanfang Zhang Committed by Gerrit - the friendly Code Review server
Browse files

coresight: fix unsigned integer calculation overflow



The cumulative value of small_size may be greater than USB_BLK_SIZE
in usb_transfer_small_packe, the result of "usb_blk_size-small_size"
overflows in usb_read_work_fn. This change fix this issue.

Change-Id: I8719c206592893743efc83b1ceac6c117bd7a24a
Signed-off-by: default avatarYuanfang Zhang <zhangyuanfang@codeaurora.org>
parent 2f157693
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment