On Mon, Aug 27, 2018 at 01:13:30AM +0200, Eugeniu Rosca wrote:

> Fix below UBSAN reports, thrown on sandbox:
> 
>  ============================================================
>  UBSAN: Undefined behaviour in drivers/input/input.c:512:7
>  variable length array bound value 0 <= 0
>  ============================================================
>  ============================================================
>  UBSAN: Undefined behaviour in drivers/input/input.c:340:6
>  variable length array bound value 0 <= 0
>  ============================================================
> 
> Inspired from Linux v4.11-rc1 commit 620711944459 ("crypto:
> algif_hash - avoid zero-sized array").
> 
> Fixes: 9bc590e5119f ("input: Add generic keyboard input handler")
> Signed-off-by: Eugeniu Rosca <ero...@de.adit-jv.com>

Reviewed-by: Tom Rini <tr...@konsulko.com>

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to