RULE-11-9
: Consider more types of assignment
#671
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
Standard-MISRA-C
Affected rules
RULE-11-9
Description
Rule 11.9 prohibits the use of
0
as a null pointer constant when assigning to a pointer. However, we do not capture all the types of assignments. The Glossary (Appendix J) states:This may also impact other MISRA rules that refer to the term assignment or assigned.
Example
The text was updated successfully, but these errors were encountered: