When calling the initialize
function, the parameter owner passed in must be equal to msg.sender. Otherwise the call will fail. This is a missing feature.
Because in the initialize
function, the owner is first set to the passed-in owner.
Then call the set function.
The set function can only be called by the owner.
So if the parameter owner passed in is not equal to msg.sender, then initialize
will revert.
I think this is a missing feature, so the impact is Med. Possibility is also Med. I judge the risk level to be Med.
The initialize
function may revert.
manual
No real impact. It even prevents to set an invalid owner. Future versions/upgrades are out-of-scope since this function can/will change to do not modify the owner at every upgrades.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.