diff options
author | Dave Penkler <dpenkler@gmail.com> | 2024-11-04 18:50:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-07 09:27:33 +0100 |
commit | 8023618a48dc8664a4493cc8279f988f9bd4ed0b (patch) | |
tree | bb35d5973ef20e76e5e98e161069059337f42682 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 1235b909d312b5e56e26a8e7310ba948a4811940 (diff) |
staging: gpib: Fix buffer overflow in ni_usb_init
The writes buffer size was not taking into account the number of
entries in the array which was causing random oopses.
Fixes: 4e127de14fa7 ("staging: gpib: Add National Instruments USB GPIB driver")
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241104175014.12317-2-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions