Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a38f82fc authored by Michael W's avatar Michael W Committed by Abhisek Devkota
Browse files

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))

TICKET: RM-208
Change-Id: I56394db135c4c53c972e3bcc8f1df4ea1d4d39e7
(cherry picked from commit aa238e9f)
parent c3b3a4df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment