From: Mark Asselstine Date: Thu, 13 Feb 2014 02:47:56 +0000 (-0500) Subject: staging: usbip: prevent possible buffer overflow reading port records X-Git-Tag: v3.15-rc1~139^2~1051 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a37d70eb655fdcbcd93b053d11b569cc7b1787eb;p=pandora-kernel.git staging: usbip: prevent possible buffer overflow reading port records To avoid buffer overflow while reading a corrupted or possibly modified port file we validate the length of each part of the port record to ensure it doesn't exceed the length of the destination buffer. https://bugzilla.kernel.org/show_bug.cgi?id=69931 Signed-off-by: Mark Asselstine Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed