4 ms·
If an environmental variable is like a file, this bug is like automatically executing code stored anywhere in the filesystem if the file happens to certain a ma
by skybrian 12y ago
If an environmental variable is like a file, this bug is like automatically executing code stored anywhere in the filesystem if the file happens to certain a magic number. Using a prefix (if documented) is like looking in a certain directory. It should have been obvious that scanning ALL environment variables is a bad idea, if not for security than for correctness, because interpreting data belonging to another program is likely to cause unpredictable behavior.
- aidenn0 12y agoagreed