Re: [PATCH master 6/6] regmap-mmio: fix use-after-free

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

 



On Mon, Jun 12, 2023 at 02:53:31PM +0200, Ahmad Fatoum wrote:
> Once we free ctx, dereferencing it to return ERR_CAST(ctx->clk) is
> verboten. Fix this by using an intermediary variable.

Looks funny like this, but replaced with forbidden for the non german
speakers ;)

Applied all, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




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

  Powered by Linux