Skip to content

Commit e17d539

Browse files
committed
C++: Model BSL in Getenv.qll.
1 parent 735e014 commit e17d539

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/Getenv.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import semmle.code.cpp.models.interfaces.FlowSource
99
* The POSIX function `getenv`.
1010
*/
1111
class Getenv extends LocalFlowSourceFunction {
12-
Getenv() { this.hasGlobalName("getenv") }
12+
Getenv() { this.hasGlobalOrStdOrBslName("getenv") }
1313

1414
override predicate hasLocalFlowSource(FunctionOutput output, string description) {
1515
(

0 commit comments

Comments
 (0)