Default arguments in function callbacks not taken into account when instantiating templates has huge security implications
Andrej Mitrovic via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 30 08:20:58 PDT 2014
On 4/29/14, Wyatt via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
> I'm sorry, but can you explain how this lets an attacker learn
> anything useful?
Maybe I over-exaggerated a little bit here.
On 4/29/14, Kenji Hara via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
> This is a compiler bug.
Ok, I thought it was maybe by design. I remember there being a similar
issue with function pointers not being distinct w.r.t. default
arguments. There's a bugzilla issue where Walter comments on it. I'm
not sure about the issue number though.
More information about the Digitalmars-d
mailing list