public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH][netfilter] Avoid a possible NULL pointer deref in recent_seq_open()
       [not found] <200707290308.45464.jesper.juhl@gmail.com>
@ 2007-07-30 12:28 ` Patrick McHardy
  0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2007-07-30 12:28 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: Linux Kernel Mailing List, netfilter-devel, coreteam,
	Rusty Russell, Marc Boucher, James Morris, Harald Welte,
	Jozsef Kadlecsik, David S. Miller

Jesper Juhl wrote:
> There is a small problem in
>  net/ipv4/netfilter/ipt_recent.c::recent_seq_open().
> 
> If the call to seq_open() returns != 0 then the code calls 
> kfree(st) but then on the very next line proceeds to 
> dereference the pointer - not good.


Applied, thanks Jesper.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-30 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200707290308.45464.jesper.juhl@gmail.com>
2007-07-30 12:28 ` [PATCH][netfilter] Avoid a possible NULL pointer deref in recent_seq_open() Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox