diff options
author | Dan Carpenter <[email protected]> | 2017-01-07 09:28:40 +0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2017-01-11 12:12:29 -0700 |
commit | 5c677869e0abbffbade2cfd82d46d0eebe823f34 (patch) | |
tree | 7f4659715113784f3c88cd1dc61414b0fcecf37e /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 6ed0993a0b859ce62edf2930ded683e452286d39 (diff) |
vfio-mdev: buffer overflow in ioctl()
This is a sample driver for documentation so the impact is probably
pretty low. But we should check that bar_index is valid so we
don't write beyond the end of the mdev_state->region_info[] array.
Fixes: 9d1a546c53b4 ("docs: Sample driver to demonstrate how to use Mediated device framework.")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Kirti Wankhede <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions