menu


Device Name Android Version App Name App Version
Samsung Galaxy Note4 6.0.1 pyLoad 0.3.7

Description

The app does not check and request the WRITE_EXTERNAL_STORAGE permission when choosing a container file form storage. There are two unexpected behaviors:

  1. choose file page is empty until this permission is granted

  2. it will crash if I continue chose Parent Directory

Reproduce steps:

  1. Open pyLoad and select Add Links button
  2. Click “CHOOSE” for choose container file
  3. Go to system setting , grant the storage permission
  4. Repeat step 1 and step 2
Aper Outputs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
API:
	<android.os.Environment: java.io.File getExternalStorageDirectory()>
---
PERMISSIONS:
	[android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE]
---
CALLCHAIN:
	org.pyload.android.client.module.FileChooser.onCreate(android.os.Bundle)void
	 org.pyload.android.client.module.FileChooser.<clinit>()void
	  android.os.Environment.getExternalStorageDirectory()java.io.File

======

DANGEROUS: android.permission.READ_EXTERNAL_STORAGE
	Is Declared: false
	Check Sites: NONE
	Request Sites: NONE
	Has Handle: in <android.app.Activity: void onRequestPermissionsResult(int,java.lang.String[],int[])>

---
DANGEROUS: android.permission.WRITE_EXTERNAL_STORAGE
	Is Declared: true
	Check Sites: NONE
	Request Sites: NONE
	Has Handle: in <android.app.Activity: void onRequestPermissionsResult(int,java.lang.String[],int[])>