Difference between revisions of "Cpp Coding Standards/SECURITY"
From Apache OpenOffice Wiki
m (Cpp Coding Standards/Security moved to Cpp Coding Standards/SECURITY: consistency) |
|
(No difference)
|
Revision as of 18:32, 22 May 2007
Topic-Id: SECURITY
Some errors may be entry points for malicious software.
Contents
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.