netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]: Fix off-by-one in max protocol-type check
@ 2004-05-28 10:53 Patrick McHardy
  2004-05-28 10:55 ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2004-05-28 10:53 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

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.

Regards
Patrick

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-30 23:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28 10:53 [PATCH]: Fix off-by-one in max protocol-type check Patrick McHardy
2004-05-28 10:55 ` Patrick McHardy
2004-05-29 19:38   ` David S. Miller
2004-05-30 23:41     ` Patrick McHardy
2004-05-30 23:59       ` David S. Miller

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).