Cpp Coding Standards/SECURITY/ValInput
From Apache OpenOffice Wiki
< Cpp Coding Standards | SECURITY
Revision as of 18:33, 22 May 2007 by Np (talk | contribs) (Cpp Coding Standards/Security/ValInput moved to Cpp Coding Standards/SECURITY/ValInput: consistency)
If your input comes from external, you must validate that input. Don't try to identify what's illegal and remove that from the input, do it the other way around: check what's legal (because you will likely forget cases of illegal input).
See also David Wheeler's excellent Secure Programming for Linux and Unix HOWTO.