in reply to Security techniques every programmer should know
Dealing with nuls, my preference would be to consider them an end-of-string marker.
s/\0.*//s;
After all, that's what the underlying system calls will get to see.
Makeshifts last the longest.
|
---|
In Section
Meditations