OSDN Git Service

MTP: Don't attempt to read more than 16K at a time from the MTP driver
authorMike Lockwood <lockwood@google.com>
Thu, 1 Dec 2011 23:36:06 +0000 (18:36 -0500)
committerMike Lockwood <lockwood@google.com>
Thu, 1 Dec 2011 23:37:29 +0000 (18:37 -0500)
commit44c190826d72589f5c9e13d69e32673bd8bd7c64
tree327ad89c7a9e2e0f09a48680fb7e85a467635701
parent17078d8a83becd5bfb49a39f1415882b78d07a49
MTP: Don't attempt to read more than 16K at a time from the MTP driver

This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I4d316c7e2e558d3dd861d39accae6514fd9a62f5
Signed-off-by: Mike Lockwood <lockwood@google.com>
media/mtp/MtpDataPacket.cpp