in reply to Re: making perl more forgetting
in thread making perl more forgetting
You have a file on your hard-drive. You "delete" the file. All that has happened is that the operating system has marked that area of the disk as writeable. The actual 1's and 0's are still in the same order they were before. (This is how disk recovery tools work.)
The same principle works with memory. Just because you have released the memory back to the OS doesn't mean that the OS has changed what was in that area. The 1's and 0's are still in the same order. Now, let's say I have a program that runs after yours. If I'm careful (and lucky), I can grab the same memory locations that you had. If I don't overwrite them, I can read the data you had tried to keep secret.
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
|---|