aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFinn Thain <[email protected]>2016-12-31 19:56:26 -0500
committerMichael Ellerman <[email protected]>2017-02-07 16:56:19 +1100
commitfe73b582f179354e233e5deddbd274efe8d3bbb9 (patch)
tree508e70bc6bc1e696ce0dc7143920ec97e49b929a /tools/perf/scripts/python
parentfd7a65a27c6cb9b0920130d9402b95695168092d (diff)
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 <[email protected]> Signed-off-by: Finn Thain <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions