Bug or case of hijacking protection ?
Basile B. via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Oct 17 07:08:37 PDT 2016
On Monday, 17 October 2016 at 14:01:26 UTC, Basile B. wrote:
> Is this a bug or a case of hijacking protection ?
>
> ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
> struct S
> {
> void test(void*, size_t){}
> }
>
> void test(ref S,void[]){}
>
>
> void main()
> {
> ubyte[] a;
> (*new S).test(a);
> }
> ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
In the meantime I've found this BR:
https://issues.dlang.org/show_bug.cgi?id=11836
It could be closed if it's an authentic anti-hijacking
case...waitaing for your expertise.
More information about the Digitalmars-d-learn
mailing list