diff options
author | Akhil R <akhilrajeev@nvidia.com> | 2025-04-24 11:03:20 +0530 |
---|---|---|
committer | Andi Shyti <andi@smida.it> | 2025-05-19 22:23:57 +0200 |
commit | a6e04f05ce0b070ab39d5775580e65c7d943da0b (patch) | |
tree | 639ec2b4510b46c49a459c0e6c15ea16854fa711 /net/lapb/lapb_timer.c | |
parent | 090c3a4a264bb6859b464379fa2cc9570139b456 (diff) |
i2c: tegra: check msg length in SMBUS block read
For SMBUS block read, do not continue to read if the message length
passed from the device is '0' or greater than the maximum allowed bytes.
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20250424053320.19211-1-akhilrajeev@nvidia.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions