Zcoin implementation bug enabled attacker to create 548, 000 Zcoins
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Sun Mar 12 09:32:47 PDT 2017
Jerry wrote:
> On Tuesday, 7 March 2017 at 21:34:35 UTC, Walter Bright wrote:
>> 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.
>
> What about Ketmar's example? It seems to have been glossed over.
nobody cares, and half (random approximation) of writers didn't even understood
the problem -- see the discussion about "opEquals() purity", "language
changes", and other things that have absolutely nothing to do with what i wrote.
More information about the Digitalmars-d
mailing list