Re: [PATCH] nl80211: Fix possible leak in nl80211_new_interface on MONITOR_FLAG_ACTIVE
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2015-02-24 09:58:25
Also in:
linux-wireless
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2015-02-24 09:58:25
Also in:
linux-wireless
On Sat, 2015-02-14 at 20:52 +0100, Christian Engelmayer wrote:
In case of NL80211_IFTYPE_MONITOR and flag MONITOR_FLAG_ACTIVE, the already allocated sk_buff 'msg' is not freed, when the function exits in case the feature is not supported. Detected by Coverity CID 1269116. Signed-off-by: Christian Engelmayer <redacted> --- Compile tested only. Applies against linux-next.
Thanks for the report. I've fixed this in a different way. johannes