Closed Bug 1701283 Opened 4 years ago Closed 4 years ago

AutofillManager.commit throws SecurityException

Categories

(GeckoView :: General, defect, P1)

defect

Tracking

(firefox87 wontfix, firefox88 wontfix, firefox89 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
firefox87 --- wontfix
firefox88 --- wontfix
firefox89 --- fixed

People

(Reporter: agi, Assigned: owlish)

References

Details

(Keywords: crash, Whiteboard: [geckoview:m89])

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/a9fdf4f5-9073-4dcc-aeb8-f164f0210326

Java stack trace:

java.lang.SecurityException: get application info: Neither user 1010243 nor current process has android.permission.INTERACT_ACROSS_USERS.
	at android.os.Parcel.createException(Parcel.java:1953)
	at android.os.Parcel.readException(Parcel.java:1921)
	at android.os.Parcel.readException(Parcel.java:1871)
	at android.view.autofill.IAutoFillManager$Stub$Proxy.finishSession(IAutoFillManager.java:689)
	at android.view.autofill.AutofillManager.finishSessionLocked(AutofillManager.java:1542)
	at android.view.autofill.AutofillManager.commitLocked(AutofillManager.java:1186)
	at android.view.autofill.AutofillManager.commit(AutofillManager.java:1177)
	at org.mozilla.geckoview.GeckoView$AndroidAutofillDelegate.onAutofill(GeckoView.java:14)
	at org.mozilla.geckoview.Autofill$Support.maybeDispatch(Autofill.java:2)
	at org.mozilla.geckoview.Autofill$Support.commit(Autofill.java:4)
	at org.mozilla.geckoview.Autofill$Support.handleMessage(Autofill.java:8)
	at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:1)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:201)
	at android.app.ActivityThread.main(ActivityThread.java:6810)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: android.os.RemoteException: Remote stack trace:
	at android.app.ContextImpl.enforce(ContextImpl.java:1822)
	at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1850)
	at com.android.server.pm.permission.PermissionManagerService.enforceCrossUserPermission(PermissionManagerService.java:2007)
	at com.android.server.pm.permission.PermissionManagerService.access$2000(PermissionManagerService.java:89)
	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.enforceCrossUserPermission(PermissionManagerService.java:2192)

Note: Not all of the linked crashes are of the signature in the comment above.

Severity: -- → S3
Rank: 2
Priority: -- → P1
Whiteboard: [geckoview:m89]
Assignee: nobody → bugzeeeeee
Pushed by istorozhko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c82840a55458 WIP: Bug 1701283 - Catch security exceptions thrown by Android Autofill Manager r=geckoview-reviewers,aklotz
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
See Also: → 1786862
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: