Closed
Description
CodeFactor is incorrectly diagnosing code as using access
POSIX function when it is actually not:
Use of access() (CWE-362, CWE-367) lines of code = 1
if (flag.access() == FlagData::GETFLAG)
In this line of code, member function access
of the class is being used, but CodeFactor is incorrectly misidentifying this as being POSIX syscall access
.
The expectation would be to not get a warning in this case, as this is a clear false-positive and a waste of triage time.
Metadata
Metadata
Assignees
Labels
No labels