Zcoin implementation bug enabled attacker to create 548,000 Zcoins

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 7 13:34:35 PST 2017


On 3/7/2017 9:45 AM, Atila Neves wrote:
> 1 warning generated.

Pretty much all C++ compilers will generate warnings for this. The thing about 
warnings, though, is they imply that there are situations where the code is 
acceptable. I can't think of any. It needs to be an error. It should never pass 
the compiler.


> Does D do better?

Yes, it's an error in D.



More information about the Digitalmars-d mailing list