tcp: no md5sig option size check bug
authorDmitry Popov <dp@highloadlab.com>
Sun, 8 Aug 2010 03:24:28 +0000 (20:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Aug 2010 03:24:28 +0000 (20:24 -0700)
commitba78e2ddca844598c0efcbf2c76d73519a61b902
tree2f775c059ab21f4c97d0aaa6ee18b79026f6ba40
parente225567960db50e9810a152c8621c7a6ed94de71
tcp: no md5sig option size check bug

tcp_parse_md5sig_option doesn't check md5sig option (TCPOPT_MD5SIG)
length, but tcp_v[46]_inbound_md5_hash assume that it's at least 16
bytes long.

Signed-off-by: Dmitry Popov <dp@highloadlab.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c