Files
twx-linux/net/dccp
Arnaldo Carvalho de Melo 4eb3dd5937 DCCP: Fix exploitable hole in DCCP socket options
[DCCP] getsockopt: Fix DCCP_SOCKOPT_[SEND,RECV]_CSCOV

We were only checking if there was enough space to put the int, but
left len as specified by the (malicious) user, sigh, fix it by setting
len to sizeof(val) and transfering just one int worth of data, the one
asked for.

Also check for negative len values.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-04-06 03:43:13 -07:00
..
2006-12-11 14:35:00 -08:00
2006-12-11 14:34:45 -08:00
2006-12-11 14:35:00 -08:00
2006-12-11 14:35:00 -08:00
2006-12-11 14:35:00 -08:00
2006-12-11 14:35:00 -08:00
2006-12-11 14:35:00 -08:00
2006-12-11 14:35:00 -08:00