lkml.org 
[lkml]   [1998]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecttcp options bug?

I think there's a (harmless) bug in net/ipv4/tcp_input.c, in
function tcp_options(). One can send "TCP_NOP,TCP_NOP,TCPOPT_MSS,4" as
TCP options, forcing the kernel to read 2 more bytes after the end of
the tcp packet options. This happens because tcp_options() does NOT check
if length <= opsize. It only checks if opsize<=2.



Greetings,
mastoras


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.490 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site