Security Risk?
Bill Baxter
dnewsgroup at billbaxter.com
Mon Feb 12 10:12:50 PST 2007
Manfred Nowak wrote:
> When a procedure gives a class instance for processing to a module mod
>
> class CPP{ int i; /+ ... +/}
> auto d= new CPP;
> d= mod.process( d);
>
> that processing is currently able to hide additional data and methods
> in that class instance.
>
> Is somebody able to show that such hidden data and methods cannot be
> used to endanger the whole system?
>
> -manfred
What makes D special in this regard? Can't you do it with C++ just as
easily? (Not really sure what you mean by 'hiding additional data in
the instance', but every way I can think of would be just as possible in
C++.)
--bb
More information about the Digitalmars-d
mailing list