Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7b3724e6 authored by Yuanfang Zhang's avatar Yuanfang Zhang
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 80fded8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment