We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4ef08 commit 03c17aeCopy full SHA for 03c17ae
c/common/src/codingstandards/c/OutOfBounds.qll
@@ -22,8 +22,7 @@ module OOB {
22
*/
23
bindingset[name, result]
24
string getNameOrInternalName(string name) {
25
- result = name or
26
- result.regexpMatch("__.*_+" + name + "_.*")
+ result.regexpMatch("^(?:__.*_+)?" + name + "(?:_[^s].*)?$")
27
}
28
29
/**
0 commit comments