mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
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:
|
History
|
|
|---|---|---|
| .. | ||
| gud_connector.c | ||
| gud_drv.c | ||
| gud_internal.h | ||
| gud_pipe.c | ||
| Kconfig | ||
| Makefile | ||