Re: [PATCH] mtd: onenand: Fix uninitialized retlen in do_otp_read()

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

 



On Thu, 14 Nov 2024 16:29:51 +0300, Ivan Stepchenko wrote:
> The function do_otp_read() does not set the output parameter *retlen,
> which is expected to contain the number of bytes actually read.
> As a result, in onenand_otp_walk(), the tmp_retlen variable remains
> uninitialized after calling do_otp_walk() and used to change
> the values of the buf, len and retlen variables.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> [...]

Applied to nand/next, thanks!

[1/1] mtd: onenand: Fix uninitialized retlen in do_otp_read()

Patche(s) will be available within hours on:
mtd/linux.git

Kind regards,
Miquèl




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux