mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 09:40:27 +02: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:
|
||
|---|---|---|
| .. | ||
| gud_connector.c | ||
| gud_drv.c | ||
| gud_internal.h | ||
| gud_pipe.c | ||
| Kconfig | ||
| Makefile | ||