From: Patrick McHardy <kaber@trash.net>
To: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: netfilter-devel@lists.netfilter.org, linux-kernel@vger.org
Subject: Re: [PATCH 2.6.20 09/10] nfnetlink_log: fix NULL pointer dereference
Date: Tue, 13 Feb 2007 13:48:44 +0100 [thread overview]
Message-ID: <45D1B3AC.5070902@trash.net> (raw)
In-Reply-To: <20070212004030.GJ8262@rere.qmqm.pl>
Micha³ Miros³aw wrote:
> Fix the nasty NULL dereference on multiple packets per netlink message.
>
> --- linux-2.6.20/net/netfilter/nfnetlink_log.c.7 2007-02-11 22:41:18.000000000 +0100
> +++ linux-2.6.20/net/netfilter/nfnetlink_log.c 2007-02-11 23:59:01.000000000 +0100
> @@ -560,6 +560,7 @@ __build_packet_message(struct nfulnl_ins
> }
>
> nlh->nlmsg_len = inst->skb->tail - old_tail;
> + inst->lastnlh = nlh;
> return 0;
>
> nlmsg_failure:
>
Applied, thanks. I'll send this one to -stable too.
prev parent reply other threads:[~2007-02-13 12:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-12 0:40 [PATCH 2.6.20 09/10] nfnetlink_log: fix NULL pointer dereference Michał Mirosław
2007-02-13 12:48 ` Patrick McHardy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45D1B3AC.5070902@trash.net \
--to=kaber@trash.net \
--cc=linux-kernel@vger.org \
--cc=mirq-linux@rere.qmqm.pl \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).