summaryrefslogtreecommitdiffstats
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2008-04-16 04:04:54 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-16 04:04:54 +0200
commit85035568a96065de6fb29478707a3ad5f1fed169 (patch)
tree1f90673d173b40ca48de6eb7d3d65a3d3e64ea46 /net/tipc/net.c
parent[TIPC]: Force linearization of non-linear sk_buffs (diff)
downloadlinux-85035568a96065de6fb29478707a3ad5f1fed169.tar.xz
linux-85035568a96065de6fb29478707a3ad5f1fed169.zip
[TIPC]: Enhance validation of format on incoming messages
This patch ensures that TIPC properly handles incoming messages that have incorrect or unexpected formats. Most significantly, it now ensures that each sl_buff has at least as much data as the message header indicates it should, and that the entire message header is stored contiguously; this prevents TIPC from accidentally accessing memory that is not part of the sk_buff. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions