Re:Zcoin implementation bug enabled attacker to create over ...
by jacquesm on Tuesday March 07, 2017 @01:37AM
(#13808684)
Fully agreed. There is absolutely no way that is something a programmer ever intended. In fact I think that just
Should already be enough to trigger the error. (Any 'if' statement without a body).
[ Parent
| on HN ]
Re:Zcoin implementation bug enabled attacker to create over ...
by spacemanmatt on Tuesday March 07, 2017 @07:18AM
(#13809791)
There could be an important side-effect in condition. Isn't persistent state fun!?
Re:Zcoin implementation bug enabled attacker to create over ...
by shawabawa3 on Tuesday March 07, 2017 @09:07AM
(#13810366)
Why have it in an if though?
Re:Zcoin implementation bug enabled attacker to create over ...
by spacemanmatt on Wednesday March 08, 2017 @11:49AM
(#13821454)
I am not condoning it, so much as noting what goes wrong when it's easy ;)