std-string-npos
std-string-npos
The return value of
Likelihood: LOW
Confidence: HIGH
CWE:
- CWE-125: Out-of-bounds Read
$VAR.$NPOS_CALL(...) has been modified so it can never equal std::string::npos. This could lead to an std::out_of_range exception being thrown or trigger an out-of-bounds read if the position is used as an array index.Likelihood: LOW
Confidence: HIGH
CWE:
- CWE-125: Out-of-bounds Read