Skip to content

Commit 58230d6

Browse files
committed
C++: Model BSL in Fread.qll.
1 parent e17d539 commit 58230d6

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/Fread.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import semmle.code.cpp.models.interfaces.Alias
22
import semmle.code.cpp.models.interfaces.FlowSource
33

44
private class Fread extends AliasFunction, RemoteFlowSourceFunction {
5-
Fread() { this.hasGlobalName("fread") }
5+
Fread() { this.hasGlobalOrStdOrBslName("fread") }
66

77
override predicate parameterNeverEscapes(int n) {
88
n = 0 or

0 commit comments

Comments
 (0)