summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorMichael W <baddaemon87@gmail.com>2016-05-30 22:50:45 +0200
committerMichael W <baddaemon87@gmail.com>2016-05-30 22:50:45 +0200
commitaa238e9fd6c24f279eef6265f50636eb1eef1ece (patch)
treee14fcd524284986794c735f38bc6f671d9a0defd /core/jni
parent1c1efe46d095646111db415983005a96b8bee244 (diff)
downloadframeworks_base-aa238e9fd6c24f279eef6265f50636eb1eef1ece.zip
frameworks_base-aa238e9fd6c24f279eef6265f50636eb1eef1ece.tar.gz
frameworks_base-aa238e9fd6c24f279eef6265f50636eb1eef1ece.tar.bz2
Core: Fix OOB
getExternal___Dir() relies on getExternal___Dirs to return an array of at least 1 element. Make sure there is at least one element returned. (Reference: BugDump 13-20160513-19 l#45 (FileManager) and L#104 (Gallery) BugDump 13-20160520-26 L#18 and more (26), just search for "getExternal" to find all cases of that OOB (>>100 users)) Change-Id: I56394db135c4c53c972e3bcc8f1df4ea1d4d39e7
Diffstat (limited to 'core/jni')
0 files changed, 0 insertions, 0 deletions