summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2024-11-04 20:50:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-07 11:27:33 +0300
commit8023618a48dc8664a4493cc8279f988f9bd4ed0b (patch)
treebb35d5973ef20e76e5e98e161069059337f42682 /scripts/lib/kdoc/kdoc_files.py
parent1235b909d312b5e56e26a8e7310ba948a4811940 (diff)
downloadlinux-8023618a48dc8664a4493cc8279f988f9bd4ed0b.tar.xz
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions