commit | 5253aded464f99734698bffd33c662f1ac071fd0 | [log] [tgz] |
---|---|---|
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | Tue Dec 22 01:21:48 2015 +0100 |
committer | Marek Vasut <marex@denx.de> | Thu Dec 31 10:05:31 2015 +0100 |
tree | acdf8e8e03aa39d560a65a74a994eacbbffeab92 | |
parent | c75f57fba4712fed1b0f7b9b10c2bbfdb9ede449 [diff] |
usb: dwc2: avoid out of bounds access flush_dcache_range may access data after priv->aligned_buffer end if len > DWC2_DATA_BUF_SIZE. memcpy may access data after buffer end if done > 0 Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Stephen Warren <swarren@wwwdotorg.org>