From: Allan Stephens Date: Wed, 16 Apr 2008 02:04:54 +0000 (-0700) Subject: [TIPC]: Enhance validation of format on incoming messages X-Git-Tag: v2.6.26-rc1~1138^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85035568a96065de6fb29478707a3ad5f1fed169;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed