[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200203143245.GA3220000@kroah.com>
Date: Mon, 3 Feb 2020 14:32:45 +0000
From: Greg KH <greg@...ah.com>
To: Lee Jones <lee.jones@...aro.org>
Cc: stable@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] media: si470x-i2c: Move free() past last use of
'radio'
On Mon, Feb 03, 2020 at 01:21:30PM +0000, Lee Jones wrote:
> A pointer to 'struct si470x_device' is currently used after free:
>
> drivers/media/radio/si470x/radio-si470x-i2c.c:462:25-30: ERROR: reference
> preceded by free on line 460
>
> Shift the call to free() down past its final use.
>
> NB: Not sending to Mainline, since the problem does not exist there.
It doesn't exist there because of a bad merge? What commit caused the
problem?
thanks,
greg k-h
Powered by blists - more mailing lists