Cpp Coding Standards/SECURITY/ValInput

From Apache OpenOffice Wiki
< Cpp Coding Standards‎ | SECURITY
Revision as of 17:14, 14 December 2009 by B michaelsen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Personal tools