M7-5-1
: Class members are considered as **automatic** variables
#805
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-High
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
M7-5-1
Description
When a function returns a reference to a class member, this class member is wrongly considered as an automatic variable.
Example
The text was updated successfully, but these errors were encountered: