summaryrefslogtreecommitdiffstats
path: root/net/dccp/minisocks.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-10-04 04:28:36 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-05 09:40:39 +0200
commit4e18b3edf71f5d4ad653e3c2ff6560878e965f96 (patch)
tree63487292026992afbf5226f44bec12a1264686e9 /net/dccp/minisocks.c
parentsctp: Fix out-of-bounds reading in sctp_asoc_get_hmac() (diff)
downloadlinux-4e18b3edf71f5d4ad653e3c2ff6560878e965f96.tar.xz
linux-4e18b3edf71f5d4ad653e3c2ff6560878e965f96.zip
cls_u32: signedness bug
skb_headroom() is unsigned so "skb_headroom(skb) + toff" is also unsigned and can't be less than zero. This test was added in 66d50d25: "u32: negative offset fix" It was supposed to fix a regression. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/minisocks.c')
0 files changed, 0 insertions, 0 deletions