Re:Don't run 'strings' on untrusted files
by tomjen3 on Sunday October 26, 2014 @05:24AM
(#8510620)
Counterpoint: All the rails security exploits, python pickling and sql injection issues.
It is common to blame C for being unsafe but the real issue seems to be trusting user input, without sanitising it first. You could use a typed language to enforce sanitising by having a special type for user input (whether read from a file or received from the system) and have the converters sanitise it.
It is common to blame C for being unsafe but the real issue seems to be trusting user input, without sanitising it first. You could use a typed language to enforce sanitising by having a special type for user input (whether read from a file or received from the system) and have the converters sanitise it.