Thread (5 messages) 5 messages, 2 authors, 2004-05-30

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

From: Patrick McHardy <hidden>
Date: 2004-05-30 23:41:05

Hi Dave,

David S. Miller wrote:
quoted
Patrick McHardy wrote:
quoted
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.
Judging from 2.4.27-pre4 changelog, you forgot to apply this
patch to 2.4. Patch from 2.6 attached, it applies with some
offset.

Regards
Patrick

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help