Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CERT Rule

Related Guidelines

CTR50-CPPCWE 119, Failure to Constrain Operations within the Bounds of a Memory Buffer
CTR50-CPPCWE 129, Improper Validation of Array Index
CTR52-CPPCWE 119, Failure to Constrain Operations within the Bounds of an Allocated Memory Buffer
CTR52-CPPCWE 805, Buffer Access with Incorrect Length Value
CTR54-CPPCWE-469, Use of Pointer Subtraction to Determine Size
CTR55-CPPCWE 129, Unchecked Array Indexing
MEM50-CPPCWE-415, Double Free
MEM50-CPPCWE-416, Use After Free
MEM51-CPPCWE 590, Free of Memory Not on the Heap
MEM51-CPPCWE 415, Double Free
MEM51-CPPCWE 404, Improper Resource Shutdown or Release
MEM51-CPPCWE 762, Mismatched Memory Management Routines Routines
MEM52-CPPCWE 252, Unchecked Return Value
MEM52-CPPCWE 391, Unchecked Error Condition
MEM52-CPPCWE 476, NULL Pointer Dereference
MEM52-CPPCWE 690, Unchecked Return Value to NULL Pointer Dereference
MEM52-CPPCWE 703, Improper Check or Handling of Exceptional Conditions
MEM52-CPPCWE 754, Improper Check for Unusual or Exceptional Conditions
MEM56-CPPCWE-415, Double Free
MEM56-CPPCWE-416, Use After Free
MEM56-CPPCWE 762, Mismatched Memory Management Routines
ERR50-CPPCWE-754, Improper Check for Unusual or Exceptional Conditions
ERR51-CPPCWE-754, Improper Check for Unusual or Exceptional Conditions
ERR56-CPPCWE-703, Failure to Handle Exceptional Conditions
ERR56-CPPCWE-754, Improper Check for Unusual or Exceptional Conditions
ERR56-CPPCWE-755, Improper Handling of Exceptional Conditions
ERR62-CPPCWE-676, Use of potentially dangerous function
ERR62-CPPCWE-20, Insufficient input validation
CON50-CPPCWE-667, Improper Locking
CON51-CPPCWE-667, Improper Locking
CON53-CPPCWE-764, Multiple Locks of a Critical Resource
CON56-CPPCWE-667, Improper Locking
MSC50-CPPCWE-327, Use of a Broken or Risky Cryptographic Algorithm
MSC50-CPPCWE-330, Use of Insufficiently Random Values
MSC51-CPPCWE-327, Use of a Broken or Risky Cryptographic Algorithm
MSC51-CPPCWE-330, Use of Insufficiently Random Values
MSC51-CPPCWE-337, Predictable Seed in PRNG
FIO21-CPPCWE-362, Concurrent Execution Using Shared Resource with Improper Synchronization ("Race Condition")
FIO21-CPPCWE-675, Duplicate Operations on Resource