diff options
author | Vladislav Yasevich <vladislav.yasevich@hp.com> | 2006-05-19 11:52:20 -0700 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2006-05-20 15:00:34 -0700 |
commit | 0eca2317be1345e056fb75d256099a04c97f7021 (patch) | |
tree | 11bc55f826aeeada51a7e40a51418d202ea35901 /net | |
parent | f91962f90eb89684ecbfb3f6b8578b3ebd6937df (diff) |
[PATCH] SCTP: Respect the real chunk length when walking parameters (CVE-2006-1858)
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.
(Vlad noted elsewhere: the most you'd overflow is 3 bytes, so problem
is parameter dependent).
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions