mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-21 20:41:31 +00:00
The struct cros_ec_command contains several integer fields and a
trailing array. An allocation size neglecting the integer fields can
lead to buffer overrun.
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Yiyuan Guo <yguoaz@gmail.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| cros_ec_sensors | ||
| hid-sensors | ||
| ms_sensors | ||
| scmi_sensors | ||
| ssp_sensors | ||
| st_sensors | ||
| Kconfig | ||
| Makefile | ||