[<prev] [next>] [day] [month] [year] [list]
Message-ID: <46ADD962.4040700@trash.net>
Date: Mon, 30 Jul 2007 14:28:18 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Jesper Juhl <jesper.juhl@...il.com>
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
netfilter-devel@...ts.netfilter.org, coreteam@...filter.org,
Rusty Russell <rusty@...tcorp.com.au>,
Marc Boucher <marc@...i.ca>, James Morris <jmorris@...ei.org>,
Harald Welte <laforge@...filter.org>,
Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH][netfilter] Avoid a possible NULL pointer deref in recent_seq_open()
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.
-
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