From: Johan Hedberg Date: Tue, 18 Feb 2014 08:19:29 +0000 (+0200) Subject: Bluetooth: Fix missing PDU length checks for SMP X-Git-Tag: v3.15-rc1~113^2~159^2^2~130^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46b98bea5691c0ed99da85cf0cb87bc146468e9;p=pandora-kernel.git Bluetooth: Fix missing PDU length checks for SMP For each received SMP PDU we need to check that we have enough data to fit the specified size of the PDU. This patch adds the necessary checks for each SMP PDU handler and ensures that buffer overflows do not occur if to little data has been received. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed