mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
b7fa76e03b
If, for any reason, the open-coded arithmetic causes a wraparound,
the protection that `struct_size()` adds against potential integer
overflows is defeated. Fix this by hardening call to `struct_size()`
with `size_add()`.
Fixes:
|
||
---|---|---|
.. | ||
cxacru.c | ||
Kconfig | ||
Makefile | ||
speedtch.c | ||
ueagle-atm.c | ||
usbatm.c | ||
usbatm.h | ||
xusbatm.c |