mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
C++: Add support for fgetws.
This commit is contained in:
@@ -12,7 +12,8 @@ class GetsFunction extends DataFlowFunction, TaintFunction, ArrayFunction, Alias
|
||||
GetsFunction() {
|
||||
exists(string name | name = getName() |
|
||||
name = "gets" or // gets(str)
|
||||
name = "fgets" // fgets(str, num, stream)
|
||||
name = "fgets" or // fgets(str, num, stream)
|
||||
name = "fgetws" // fgetws(wstr, num, stream)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user