[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120401.231954.992963391252108626.davem@davemloft.net>
Date: Sun, 01 Apr 2012 23:19:54 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiaosuo@...il.com
Cc: kaber@...sh.net, pablo@...filter.org, eric.dumazet@...il.com,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: check the length of the data before dereferencing
it
From: Changli Gao <xiaosuo@...il.com>
Date: Mon, 2 Apr 2012 11:10:50 +0800
> We should check the length of the data before dereferencing it when parsing
> the TCP options.
>
> Signed-off-by: Changli Gao <xiaosuo@...il.com>
Proper Subject prefix here would be "tcp: ", not "net: "
and maybe adjust the subject line to also mention the
specific function being fixed, which in this case would
be tcp_parse_options(). So:
tcp: Validate length of data before dereference in tcp_parse_options().
and then you can make the commit message just be your signoff.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists