User @Swaldman made a great catch today and found a bug in ENS auction code:
https://github.com/ethereum/ens/issues/49
What are the various ways to fix/prevent this attack vector before deployment?
User @Swaldman made a great catch today and found a bug in ENS auction code:
https://github.com/ethereum/ens/issues/49
What are the various ways to fix/prevent this attack vector before deployment?
The fix is in https://github.com/ethereum/ens/pull/51/files and is as described by the comment by @Richard Horrocks: change _value
to actualValue
For example:
} else if (_value > h.value) {
should be:
} else if (actualValue > h.value) {
_value
toactualValue
in those 3 places? :-)