You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (checkSelfPermission(Manifest.permission.READ_PHONE_STATE) != PackageManager.PERMISSION_GRANTED) {
return;
}
Stringimei = tel.getDeviceId(); // source
send(newint[1], newString[1], imei, 0D);
}
And in leakImei(), it calls send method with 4 arguments (corresponds to signature native void send(int[] array, String[] array2, String data, double d)
Hello. I have a question about native_method_overloading task.
NativeFlowBench/native_method_overloading/src/main/java/org/arguslab/native_method_overloading/MainActivity.java
Lines 14 to 17 in b92ad62
These comments asserts there is no leak in this task.
NativeFlowBench/native_method_overloading/src/main/java/org/arguslab/native_method_overloading/MainActivity.java
Lines 40 to 47 in b92ad62
And in
leakImei()
, it callssend
method with 4 arguments (corresponds to signaturenative void send(int[] array, String[] array2, String data, double d)
NativeFlowBench/native_method_overloading/src/main/jni/method_overloading.cpp
Lines 38 to 45 in b92ad62
But in JNI code, it clearly leaks the data (as comment). Does it actually leaks data? or it's just my misunderstanding?
The text was updated successfully, but these errors were encountered: