GeckoLoader obtaining a serial number is not compatible with isolatedProcess
Categories
(Core :: Security: Process Sandboxing, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox66 | --- | affected |
People
(Reporter: gcp, Unassigned)
References
(Blocks 1 open bug)
Details
The error is a bit strange as previous operations on Context do work, thought it makes sense we can't get serial numbers in the sandbox. This code seems to be entirely optional given that it's conditional on the SDK.
E/GeckoCrashHandler(18939): java.lang.NullPointerException: Attempt to invoke interface method 'int android.os.IUserManager.getUserSerialNumber(int)' on a null object reference
E/GeckoCrashHandler(18939): at android.os.UserManager.getUserSerialNumber(UserManager.java:1139)
E/GeckoCrashHandler(18939): at android.os.UserManager.getSerialNumberForUser(UserManager.java:699)
E/GeckoCrashHandler(18939): at org.mozilla.gecko.mozglue.GeckoLoader.setupGeckoEnvironment(GeckoLoader.java:164)
E/GeckoCrashHandler(18939): at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:464)
Reporter | ||
Comment 1•6 years ago
|
||
Adding null checks doesn't work, so I wonder if Android and its JIT are getting confused as to what the source of the failure is. Skipping the call is OK.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•4 years ago
|
Description
•