зеркало из https://github.com/mozilla/gecko-dev.git
1d2e8ed150
Summary: This patch fixes the reported leak of U2FTransactionChild instances in the content process by introducing a WebAuthnTransactionChildBase class that both WebAuthnTransactionChild and U2FTransactionChild inherit from. This base class is responsible for proper refcounting. In BackgroundChildImpl::DeallocPWebAuthnTransactionChild() we currently always cast to WebAuthnTransactionChild, that will work only for the WebAuthn API. We can now cast to WebAuthnTransactionChildBase to make this work for U2F as well. Reviewers: jcj Reviewed By: jcj Bug #: 1412408 Differential Revision: https://phabricator.services.mozilla.com/D179 |
||
---|---|---|
.. | ||
tests | ||
U2F.cpp | ||
U2F.h | ||
U2FAuthenticator.h | ||
U2FManager.cpp | ||
U2FManager.h | ||
U2FTransactionChild.cpp | ||
U2FTransactionChild.h | ||
U2FTransactionParent.cpp | ||
U2FTransactionParent.h | ||
U2FUtil.h | ||
moz.build |