Poisoned null attacks against Perl scripts still work in the current Perl interpreter, several years after the technique was discovered.
I find this surprising. IMO the Perl interpreter should barf if asked to pass a string that contains a null to a system call that expects a null-terminated string. At least doing this for open() seems like a no-brainer.
I know the Perl core developers are a smart bunch, so maybe there's a downside to doing this that I'm missing. Can anyone shed some light ?
In reply to Why do poisoned null attacks still work ? by pubnoop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |