diff options
author | Vladislav Yasevich | 2006-05-19 20:52:20 +0200 |
---|---|---|
committer | Sridhar Samudrala | 2006-05-19 20:52:20 +0200 |
commit | dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512 (patch) | |
tree | 5eaf4aa2ddce2cdbff1bdf04df6e7392c0cde94b /net/sctp | |
parent | [SCTP]: A better solution to fix the race between sctp_peeloff() and (diff) | |
download | kernel-qcow2-linux-dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512.tar.gz kernel-qcow2-linux-dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512.tar.xz kernel-qcow2-linux-dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512.zip |
[SCTP]: Respect the real chunk length when walking parameters.
When performing bound checks during the parameter processing, we
want to use the real chunk and paramter lengths for bounds instead
of the rounded ones. This prevents us from potentially walking of
the end if the chunk length was miscalculated. We still use rounded
lengths when advancing the pointer. This was found during a
conformance test that changed the chunk length without modifying
parameters.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions