RULE-11-4
: Consider 0
to be a null pointer constant.
#331
Labels
Difficulty-Low
A false positive or false negative report which is expected to take <1 day effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
Phase II
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
RULE-11-1
RULE-11-4
RULE-11-5
RULE-11-6
Description
According to MISRA C 2012 8.11 zero is a null pointer constant, and so should not be flagged as non_compliant.
Example
The text was updated successfully, but these errors were encountered: