]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Validate the parameter length in HB-ACK chunk.
authorVladislav Yasevich <vladislav.yasevich@hp.com>
Fri, 19 May 2006 21:25:53 +0000 (14:25 -0700)
committerSridhar Samudrala <sri@us.ibm.com>
Fri, 19 May 2006 21:25:53 +0000 (14:25 -0700)
commit041ba1f4ac7f82fb89172f10497a76e9e4e46f25
tree0f22554556272153de2cbdc94bc32de5f2fa4633
parentc0c633def8f2359ad771ea89cdb11aa81413c9f3
[SCTP]: Validate the parameter length in HB-ACK chunk.

If SCTP receives a badly formatted HB-ACK chunk, it is possible
that we may access invalid memory and potentially have a buffer
overflow.  We should really make sure that the chunk format is
what we expect, before attempting to touch the data.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
net/sctp/sm_statefuns.c