You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The rule produces false positives, when goto or return are using between the search patterns
To Reproduce
This following code should be ok, but it fails the rule, free is called once for non NULL, and if the var is NULL (If ptr is null, the free() function does nothing.) its called twice.
Describe the bug
The rule produces false positives, when goto or return are using between the search patterns
To Reproduce
This following code should be ok, but it fails the rule, free is called once for non NULL, and if the var is NULL (If ptr is null, the free() function does nothing.) its called twice.
Expected behavior
The above code should not be detected as double free.
Priority
How important is this to you?
The text was updated successfully, but these errors were encountered: