[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFo99gb6xOOezVpDQJ9uP1EkvpZ8Z-CWNMPrOby8zRo+7+motA@mail.gmail.com>
Date: Mon, 2 Jun 2014 00:10:37 +0200
From: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
To: Christian Engelmayer <cengelma@....at>
Cc: Larry Finger <Larry.Finger@...inger.net>,
Florian Schilhabel <florian.c.schilhabel@...glemail.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thomas Cort <linuxgeek@...il.com>,
Alexandre Demers <alexandre.f.demers@...il.com>,
devel@...verdev.osuosl.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] staging: rtl8712: rtl871x_mlme.c: Cleaning up memory leak
Hi Christian!
Yes! I mail about this for the first time in early May, but ther were
many other faults in the design of my patch, had several different
types of errors in the same path etc.
So good that they have already been solved then :)
Best regards
Rickard Strandqvist
2014-06-01 23:50 GMT+02:00 Christian Engelmayer <cengelma@....at>:
> On Sun, 1 Jun 2014 13:32:20 +0200, Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se> wrote:
>> There is a risk for memory leak in when something unexpected happens
>> and the function returns.
>>
>> This was largely found by using a static code analysis program called cppcheck.
>>
>> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
>
> This doesn't apply against staging-next. This fix seems to attack the same
> problem as existing commit 2af9e74 (staging: rtl8712: fix potential leaks in
> r8712_set_key()) - http://www.spinics.net/lists/linux-driver-devel/msg46501.html
>
> I think we talked about that already - see
> http://www.spinics.net/lists/linux-driver-devel/msg46294.html
>
> Regards,
> Christian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists