Versions Compared

Key

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

...

Failure to enforce type safety can result in type errors in the program.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

API07-C

Medium

Unlikely

Medium

P4

L3

Automated Detection

Tool

Version

Checker

Description

CodeSonar  4.2  
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V
LANG.CAST.VALUE
Cast alters value
LANG.CAST.COERCE
Coercion alters value ALLOC
ALLOC.TM
GlobalHandle on GMEM_FIXED memory
GlobalLock on GMEM_FIXED memory
GlobalUnlock on GMEM_FIXED memory
LocalHandle on GMEM_FIXED memory
LocalLock on GMEM_FIXED memory
LocalUnlock on GMEM_FIXED memory
Pool mismatch

Cast alters value
Coercion alters value
Type mismatch

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

Key here (explains table format and definitions)

Taxonomy

Taxonomy item

Relationship

ISO/IEC TR 24772:2013String Termination [CJM]

 

Prior to 2018-01-12: CERT: Unspecified Relationship
MITRE CWECWE-192Prior to 2018-01-12:
MITRE CWECWE-227Prior to 2018-01-12:
MITRE CWECWE-590Prior to 2018-01-12:
MITRE CWECWE-686Prior to 2018-01-12:
MITRE CWECWE-704Prior to 2018-01-12:
MITRE CWECWE-761Prior to 2018-01-12:
MITRE CWECWE-762Prior to 2018-01-12:
MITRE CWECWE-843Prior to 2018-01-12:


...

Image Added Image Added API09-C. Compatible values should have the same typeImage Removed Image Removed Image Removed