netdev
[Top] [All Lists]

Re: [PATCH]: Fix off-by-one in max protocol-type check

To: Patrick McHardy <kaber@xxxxxxxxx>
Subject: Re: [PATCH]: Fix off-by-one in max protocol-type check
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Sat, 29 May 2004 12:38:29 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <40B71ABD.5060600@xxxxxxxxx>
References: <40B71A1C.5080400@xxxxxxxxx> <40B71ABD.5060600@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 28 May 2004 12:55:57 +0200
Patrick McHardy <kaber@xxxxxxxxx> wrote:

> Patrick McHardy wrote:
> > This patch fixes an off-by-one in inet_register_protosw and
> > inet6_register_protosw. inetsw is an array of size SOCK_MAX,
> > the check allows access to index SOCK_MAX. Patch applies
> > to 2.4 and 2.6.
> 
> Forgot the patch, sorry ;)

Applied.

<Prev in Thread] Current Thread [Next in Thread>