Cpp Coding Standards/SECURITY
From Apache OpenOffice Wiki
< Cpp Coding Standards
Revision as of 18:32, 22 May 2007 by Np (talk | contribs) (Cpp Coding Standards/Security moved to Cpp Coding Standards/SECURITY: consistency)
Topic-Id: SECURITY
Some errors may be entry points for malicious software.
Summary
No Unsafe Functions (UnsafeFunc)
Don't use functions that are known to have security issues (strcpy etc.)
Validate Input (ValInput)
Validate all input coming from external.
No Buffer Overflows (BuffOver)
Check range and validity of buffers.
No Integer Overflows (IntOver)
Be aware that integers have limited range.