diff options
author | Vladislav Yasevich <vladislav.yasevich@hp.com> | 2006-05-19 11:52:20 -0700 |
---|---|---|
committer | Sridhar Samudrala <sri@us.ibm.com> | 2006-05-19 11:52:20 -0700 |
commit | dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512 (patch) | |
tree | 5eaf4aa2ddce2cdbff1bdf04df6e7392c0cde94b /net | |
parent | 61c9fed41638249f8b6ca5345064eb1beb50179f (diff) | |
download | linux-3.10-dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512.tar.gz linux-3.10-dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512.tar.bz2 linux-3.10-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')
0 files changed, 0 insertions, 0 deletions