[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170923161554.GA13023@kroah.com>
Date: Sat, 23 Sep 2017 18:15:54 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Stefan Wahren <stefan.wahren@...e.com>
Cc: Aishwarya Pant <aishpant@...il.com>,
Phil Elwell <phil@...pberrypi.org>,
Eric Anholt <eric@...olt.net>, linux-kernel@...r.kernel.org,
devel@...verdev.osuosl.org,
Dan Carpenter <dan.carpenter@...cle.com>,
linux-rpi-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] staging: bcm2835-audio: Fix memory corruption
On Sat, Sep 23, 2017 at 12:57:33PM +0200, Stefan Wahren wrote:
> Hi Greg,
>
> > Phil Elwell <phil@...pberrypi.org> hat am 11. August 2017 um 12:20 geschrieben:
> >
> >
> > The previous commit (0adbfd46) fixed a memory leak but also freed a
> > block in the success case, causing a stale pointer to be used with
> > potentially fatal results. Only free the vchi_instance block in the
> > case that vchi_connect fails; once connected, the instance is
> > retained for subsequent connections.
> >
> > Simplifying the code by removing a bunch of gotos and returning errors
> > directly.
> >
> > Signed-off-by: Phil Elwell <phil@...pberrypi.org>
> > Fixes: 0adbfd4694c2 ("staging: bcm2835-audio: fix memory leak in bcm2835_audio_open_connection()")
>
> can you still apply this patch or do you need a resend?
Hm, I don't see this anywhere in my tree, or in my todo mbox, so yes,
please resend it, thanks.
greg k-h
Powered by blists - more mailing lists