3 ms·
Yes, sure. You write to a file, save the file name or file descriptor. Then when you read it back later, maybe you forget to validate the contents. This can be
by fooker 8y ago
Yes, sure.
You write to a file, save the file name or file descriptor. Then when you read it back later, maybe you forget to validate the contents. This can be exploited depending on what you were doing with the data.
Do you now want to restrict what you mean by a 'reference'?
You'll see that once you keep restricting that enough you first lose the ability to write fast programs and eventually useful programs(evidence: various 'unsafe' modes in so called safe languages).