[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1346774827.3737.34.camel@jlt4.sipsolutions.net>
Date: Tue, 04 Sep 2012 18:07:07 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: linville@...driver.com, davem@...emloft.net,
yongjun_wei@...ndmicro.com.cn, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] nl80211: [PATCH] nl80211: fix possible memory leak
nl80211_connect()
On Sun, 2012-09-02 at 21:41 +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> connkeys is malloced in nl80211_parse_connkeys() and should
> be freed in the error handling case, otherwise it will cause
> memory leak.
>
> spatch with a semantic match is used to found this problem.
> (http://coccinelle.lip6.fr/)
Applied, thanks. I fixed the subject for you :)
johannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists