Skip to content

Commit

Permalink
Fix denial-of-service vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
cwgoes committed Oct 25, 2019
1 parent 63aa0bd commit 8d8cf1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/WyvernRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ contract WyvernRegistry is ProxyRegistry {
constructor ()
public
{
delegateProxyImplementation = address (new AuthenticatedProxy());
AuthenticatedProxy impl = new AuthenticatedProxy();
impl.initialize(address(this), this);
impl.setRevoke(true);
delegateProxyImplementation = address(impl);
}

/**
Expand Down

0 comments on commit 8d8cf1c

Please sign in to comment.