Difference between revisions of "Cpp Coding Standards/SECURITY"
From Apache OpenOffice Wiki
m |
m (Cpp Coding Standards/Topics/SECURITY moved to Cpp Coding Standards/Security: Improve Cpp_Coding_Standards structure.) |
(No difference)
|
Revision as of 14:41, 28 November 2006
Contents
Security
Some errors may be entry points for malicious software.
Summary
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.