Re: [PATCH v2] Input: elantech - Fix stack out of bound access in elantech_change_report_id()

From: Wolfram Sang
Date: Tue Nov 16 2021 - 05:30:33 EST


>
> [ 6.512374] BUG: KASAN: stack-out-of-bounds in __ps2_command+0x372/0x7e0
> [ 6.512397] Read of size 1 at addr ffff8881024d77c2 by task kworker/2:1/118

I wonder if the KASAN trace could be shortened, but I leave this to
Dmitry.

I like the comment, thanks!

Reviewed-by: Wolfram Sang <wsa@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature