Cpp Coding Standards/SECURITY

From Apache OpenOffice Wiki
< Cpp Coding Standards
Revision as of 14:41, 28 November 2006 by Np (Talk | contribs)

Jump to: navigation, search

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.


Explanations


Personal tools