diff options
author | Gary R Hook <gary.hook@amd.com> | 2018-03-07 11:31:14 -0600 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-16 23:35:52 +0800 |
commit | b698a9f4c5c52317db486b069190c7e3d2b97e7e (patch) | |
tree | 0395c4da367e027b2d2231c933c8096dc2a6de10 /crypto | |
parent | 3d053d53fcbe7343c89895bcfa2d6bc598740d55 (diff) | |
download | linux-b698a9f4c5c52317db486b069190c7e3d2b97e7e.tar.gz linux-b698a9f4c5c52317db486b069190c7e3d2b97e7e.tar.bz2 linux-b698a9f4c5c52317db486b069190c7e3d2b97e7e.zip |
crypto: ccp - Validate buffer lengths for copy operations
The CCP driver copies data between scatter/gather lists and DMA buffers.
The length of the requested copy operation must be checked against
the available destination buffer length.
Reported-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions