Loading
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: 4e127de1 ("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>