mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
431 B
Java
15 lines
431 B
Java
import android.os.Bundle;
|
|
import android.os.ResultReceiver;
|
|
import android.content.Intent;
|
|
|
|
class SensitiveResultReceiver {
|
|
<T> T source() { return null; }
|
|
|
|
void test1(String password) {
|
|
Intent intent = source();
|
|
ResultReceiver rec = intent.getParcelableExtra("hi");
|
|
Bundle b = new Bundle();
|
|
b.putCharSequence("pass", password);
|
|
rec.send(0, b); // $hasSensitiveResultReceiver
|
|
}
|
|
} |