Re: [PATCH] i2c: lpi2c: fix potential read of uninitialized variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Oct 2024 11:09:47 +0200, Ahmad Fatoum wrote:
> If the continue statement in the do {} while () loop is
> reached on the first iteration, the loop condition is evaluated without
> having first being set.
> 
> Fix this by initializing it to the maximum length of the I2C message.
> 
> 
> [...]

Applied, thanks!

[1/1] i2c: lpi2c: fix potential read of uninitialized variable
      https://git.pengutronix.de/cgit/barebox/commit/?id=502ce2e332f5 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux