login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
15
Re: Don't leak 'listeners' in netlink_kernel_create()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
David Miller <davem@...>
To: <ebiederm@...>
Cc: <jesper.juhl@...>, <netdev@...>, <linux-kernel@...>, <alan@...>, <kuznet@...>
Subject:
Re: Don't leak 'listeners' in netlink_kernel_create()
Date: Monday, October 15, 2007 - 4:39 am
From:
ebiederm@xmission.com
(Eric W. Biederman) Date: Sun, 14 Oct 2007 16:30:06 -0600
quoted text
> Jesper Juhl <jesper.juhl@gmail.com> writes: > > > From: Jesper Juhl <jesper.juhl@gmail.com> > > Subject: Don't leak 'listeners' in netlink_kernel_create() > > > > The Coverity checker spotted that we'll leak the storage allocated > > to 'listeners' in netlink_kernel_create() when the > > if (!nl_table[unit].registered) > > check is false. > > > > This patch avoids the leak. > > > > > > Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> > > This patch appears trivially correct to me. > Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Applied, thanks everyone. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re: Don't leak 'listeners' in netlink_kernel_create()
, Eric W. Biederman
, (Sun Oct 14, 6:30 pm)
Re: Don't leak 'listeners' in netlink_kernel_create()
, David Miller
, (Mon Oct 15, 4:39 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
monstr
[PATCH 11/60] microblaze_v4: cache support
Andrew Morton
Re: x86: 4kstacks default
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ben Hutchings
Re: [GIT]: Networking
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Jiri Olsa
[PATCHv5 0/2] net: fix race in the receive/select
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
582 guests
online.
Syndicate