]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita601266e4f3c479790f373c2e3122a766d123652
tree0f22554556272153de2cbdc94bc32de5f2fa4633
parentdd2d1c6f2958d027e4591ca5d2a04dfe36ca6512
[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