Re: (subset) [PATCH] leds: netxbig: fix an OF node reference leak in netxbig_leds_get_of_pdata()

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

 



On Mon, 16 Dec 2024 16:49:23 +0900, Joe Hattori wrote:
> netxbig_leds_get_of_pdata() does not release the OF node obtained by
> of_parse_phandle() when of_find_device_by_node() fails. Add an
> of_node_put() call to fix the leak.
> 
> This bug was found by an experimental static analysis tool that I am
> developing.
> 
> [...]

Applied, thanks!

[1/1] leds: netxbig: fix an OF node reference leak in netxbig_leds_get_of_pdata()
      commit: 0508316be63bb735f59bdc8fe4527cadb62210ca

--
Lee Jones [李琼斯]





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux