mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
e94a26504f
CI static analysis complains about the allocation size in payload and
response buffers being unchecked. In general, these allocations should
be safe as the user-input is u16 and thus limited to U16_MAX, which is
only slightly larger than the theoretical maximum imposed by the
underlying SSH protocol.
All bounds on these values required by the underlying protocol are
enforced in ssam_request_sync() (or rather the functions called by it),
thus bounds here are only relevant for allocation.
Add comments explaining that this should be safe.
Reported-by: Colin Ian King <colin.king@canonical.com>
Fixes:
|
||
---|---|---|
.. | ||
aggregator | ||
Kconfig | ||
Makefile | ||
surface3_button.c | ||
surface3_power.c | ||
surface3-wmi.c | ||
surface_acpi_notify.c | ||
surface_aggregator_cdev.c | ||
surface_gpe.c | ||
surfacepro3_button.c |