summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorVladislav Yasevich <vladislav.yasevich@hp.com>2006-05-19 18:52:20 (GMT)
committerSridhar Samudrala <sri@us.ibm.com>2006-05-19 18:52:20 (GMT)
commitdd2d1c6f2958d027e4591ca5d2a04dfe36ca6512 (patch)
tree5eaf4aa2ddce2cdbff1bdf04df6e7392c0cde94b /net/sctp
parent61c9fed41638249f8b6ca5345064eb1beb50179f (diff)
downloadlinux-fsl-qoriq-dd2d1c6f2958d027e4591ca5d2a04dfe36ca6512.tar.xz
[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