diff options
author | Vladislav Yasevich <vladislav.yasevich@hp.com> | 2006-05-19 14:52:20 -0400 |
---|---|---|
committer | Sridhar Samudrala <sri@us.ibm.com> | 2006-05-19 14:52:20 -0400 |
commit | dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512 (patch) | |
tree | 5eaf4aa2ddce2cdbff1bdf04df6e7392c0cde94b /include/net/raw.h | |
parent | 61c9fed41638249f8b6ca5345064eb1beb50179f (diff) |
[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 'include/net/raw.h')
0 files changed, 0 insertions, 0 deletions