Cpp Coding Standards/SECURITY

From Apache OpenOffice Wiki
< Cpp Coding Standards
Revision as of 15:49, 27 November 2006 by Np (Talk | contribs)

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

Security

Some errors may be entry points for malicious software.


Rules

NoUnsafeFunctions

Don't use functions that are known to have security issues (strcpy etc.)

ValidateInput

Validate all input coming from external.

NoBufferOverflow

Check range and validity of buffers.

NoIntegerOverflow

Be aware that integers have limited range.


Personal tools