summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_statefuns.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-09-05 15:53:58 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-09-25 22:55:45 -0700
commita09c83847b664dcd67a72613374061c900afb799 (patch)
tree2d861171a944bb415d3cb0af82544836df1ced3d /net/sctp/sm_statefuns.c
parentca9938fea576ebbb8d8c4fbe8a5bcc937e49e1ca (diff)
downloadlinux-a09c83847b664dcd67a72613374061c900afb799.tar.bz2
SCTP: Validate buffer room when processing sequential chunks
When we process bundled chunks, we need to make sure that the skb has the buffer for each header since we assume it's always there. Some malicious node can send us something like DATA + 2 bytes and we'll try to walk off the end refrencing potentially uninitialized memory. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/sm_statefuns.c')
0 files changed, 0 insertions, 0 deletions