Re: [PATCH] gpiolib: cdev: fix uninitialised kfifo

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

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Fri, 10 May 2024 14:53:42 +0800, Kent Gibson wrote:
> If a line is requested with debounce, and that results in debouncing
> in software, and the line is subsequently reconfigured to enable edge
> detection then the allocation of the kfifo to contain edge events is
> overlooked.  This results in events being written to and read from an
> unitialised kfifo.  Read events are returned to userspace.
> 
> Initialise the kfifo in the case where the software debounce is
> already active.
> 
> [...]

Applied, thanks!

[1/1] gpiolib: cdev: fix uninitialised kfifo
      commit: 3c1625fe5a2e0d68cd7b68156f02c1b5de09a161

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux