On Fri, Jan 15, 2021 at 03:11:49AM +0000, yuezhang...@sony.com wrote: > If both stop key and delay key are empty, the length of these > keys is 0. The subtraction operation will cause the u_int type > variable to overflow, will cause illegal memory access in key > input loop. > > This commit fixes this bug by using int type instead of u_init. > Acked-by: Heinrich Schuchardt <xypron.g...@gmx.de>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature