Thread (39 messages) 39 messages, 5 authors, 2024-10-04

Re: [PATCH 04/14] Input: samsung-keypad - use struct_size() helper

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2024-08-19 12:53:00
Also in: linux-devicetree, linux-input, linux-samsung-soc, lkml

On Sun, Aug 18, 2024 at 09:58:01PM -0700, Dmitry Torokhov wrote:
When allocating memory for the keypad use struct_size() helper to be
protected from overflows.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/keyboard/samsung-keypad.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Krzysztof Kozlowski <redacted>

Best regards,
Krzysztof

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help