Skip to content

Commit

Permalink
Bug 1823861 - ensure transport is live before pin callback. r=keeler
Browse files Browse the repository at this point in the history
  • Loading branch information
jschanck committed Mar 23, 2023
1 parent 46ff1ae commit 1b44c34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dom/webauthn/WebAuthnController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,9 @@ void WebAuthnController::RunPinCallback(uint64_t aTransactionId,
const nsCString& aPin) {
mozilla::ipc::AssertIsOnBackgroundThread();

mTransportImpl->PinCallback(aTransactionId, aPin);
if (mTransportImpl) {
mTransportImpl->PinCallback(aTransactionId, aPin);
}
}

NS_IMETHODIMP
Expand Down

0 comments on commit 1b44c34

Please sign in to comment.