summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpStorageInfo.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2014-11-13 16:49:14 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-13 16:49:14 +0000
commite1e814c7c640a51511b149985d57f8bfd4a8bf78 (patch)
treee80535c005c41fc25e24648fa0fa5f50b2d53137 /media/mtp/MtpStorageInfo.h
parentdd1b265eb3041532ad76d41bb73dbe9722decf7f (diff)
parente418cfae0970d1abe60b8cc681aa8c8a828b3769 (diff)
downloadframeworks_av-e1e814c7c640a51511b149985d57f8bfd4a8bf78.zip
frameworks_av-e1e814c7c640a51511b149985d57f8bfd4a8bf78.tar.gz
frameworks_av-e1e814c7c640a51511b149985d57f8bfd4a8bf78.tar.bz2
am e418cfae: am 869e0798: Merge "MTP: add strict bounds checking for all incoming packets" into lmp-mr1-dev
* commit 'e418cfae0970d1abe60b8cc681aa8c8a828b3769': MTP: add strict bounds checking for all incoming packets
Diffstat (limited to 'media/mtp/MtpStorageInfo.h')
-rw-r--r--media/mtp/MtpStorageInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mtp/MtpStorageInfo.h b/media/mtp/MtpStorageInfo.h
index 2cb626e..35a8189 100644
--- a/media/mtp/MtpStorageInfo.h
+++ b/media/mtp/MtpStorageInfo.h
@@ -39,7 +39,7 @@ public:
MtpStorageInfo(MtpStorageID id);
virtual ~MtpStorageInfo();
- void read(MtpDataPacket& packet);
+ bool read(MtpDataPacket& packet);
void print();
};