Intended Security Hole?
Chris Cain
clcain at uncg.edu
Wed Oct 24 12:41:08 PDT 2012
On Wednesday, 24 October 2012 at 16:59:11 UTC, Manfred Nowak
wrote:
> From the docs, i.e. function.html:
>
>> Functions without bodies [...] enable implementation to be
>> completely hidden from the user of it.
>
> This means also, that the implementation can be changed during
> runtime
> by "overriding" with another implementation, which might be
> malicious.
>
> Why is it a good thing to rely on the reputability of an
> unknwon coder?
>
> -manfred
>
Missing part of your quote that clarifies your post:
> and that implementation will be provided at the link step.
So, no, the implementation wouldn't be changed during runtime
since it must be provided when linking.
More information about the Digitalmars-d-learn
mailing list