diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2017-01-01 01:56:26 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-07 06:56:19 +0100 |
commit | fe73b582f179354e233e5deddbd274efe8d3bbb9 (patch) | |
tree | 508e70bc6bc1e696ce0dc7143920ec97e49b929a /fs/utimes.c | |
parent | via-cuda: Add TREQ, TIP and TACK signal helpers (diff) | |
download | linux-fe73b582f179354e233e5deddbd274efe8d3bbb9.tar.xz linux-fe73b582f179354e233e5deddbd274efe8d3bbb9.zip |
via-cuda: Prevent read buffer overflow
If the Cuda driver does not enter the 'read_done' state for some
reason, it may continue in the 'reading' state until the buffer
overflows. Add a bounds check to prevent this.
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions