linux/drivers/usb/atm
Gustavo A. R. Silva b626871a7c usb: atm: Use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version,
in order to avoid any potential type mistakes or integer overflows that,
in the worse scenario, could lead to heap overflows.

Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20210928233935.GA299525@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-05 12:50:22 +02:00
..
cxacru.c usb: atm: cxacru: Fix typo in comment 2021-05-21 20:05:40 +02:00
Kconfig usb: remove redundant 'default n' from Kconfig-s 2019-05-21 10:06:22 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
speedtch.c usb: usbatm: Convert timers to use timer_setup() 2017-11-21 15:46:44 -08:00
ueagle-atm.c usb: atm: ueagle-atm: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-09 16:46:57 +02:00
usbatm.c usb: atm: Use struct_size() helper 2021-10-05 12:50:22 +02:00
usbatm.h USB: atm: Use the correct style for SPDX License Identifier 2020-03-17 20:03:28 +01:00
xusbatm.c drivers: usb: atm: use pr_err() and pr_warn() instead of raw printk() 2020-12-09 15:22:51 +01:00