Closed Bug 1400019 Opened 7 years ago Closed 7 years ago

WebAuthn: Assertion failure: aAlgorithm.IsString()

Categories

(Core :: DOM: Device Interfaces, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: posidron, Assigned: jcj)

Details

(Whiteboard: [webauthn] [webauthn-test])

Attachments

(2 files)

Attached file testcase.html
The following crash occurs consistently on mozilla-central. Last tested revision is 20170914-e217f827cc16

Assertion failure: aAlgorithm.IsString(), at http://searchfox.org/mozilla-central/rev/6326724982c66aaeaf70bb7c7ee170f7a38ca226/dom/webauthn/WebAuthnManager.cpp#59

Could we change this to something other than MOZ_ASSERT? It blocks too much our fuzzing efforts.
Sure, that's no problem. I'll get a patch up shortly.
Assignee: nobody → jjones
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [webauthn] [webauthn-test]
Comment on attachment 8908448 [details]
Bug 1400019 - Don't assert on illegal WebAuthn algo names

https://reviewboard.mozilla.org/r/180098/#review185484

Sounds like a plan.
Attachment #8908448 - Flags: review?(dkeeler) → review+
Ugh, this should have been checked in on Friday.

OK, this patch only affects pref'd off code, and is to enable better fuzzing. Not really sure what the procedure is for post-freeze check-ins...
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a8b326d7a918
Don't assert on illegal WebAuthn algo names r=keeler
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a8b326d7a918
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: