From: Alyssa Milburn Date: Sat, 1 Apr 2017 17:34:08 +0000 (-0300) Subject: zr364xx: enforce minimum size when reading header X-Git-Tag: v3.2.92~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e674844ad3a2c336e23005a82354db5b9b2f4773;p=pandora-kernel.git zr364xx: enforce minimum size when reading header commit ee0fe833d96793853335844b6d99fb76bd12cbeb upstream. This code copies actual_length-128 bytes from the header, which will underflow if the received buffer is too small. Signed-off-by: Alyssa Milburn Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed