mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update cpp/ql/src/Critical/FileClosed.qll
Co-Authored-By: Jonas Jensen <jbj@github.com>
This commit is contained in:
committed by
GitHub
parent
419b511ddb
commit
092145d571
@@ -17,7 +17,7 @@ class ClosedExpr extends PointsToExpr {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if `fc` is a call to function that opens a file which might be closed. For example:
|
||||
* Holds if `fc` is a call to a function that opens a file that might be closed. For example:
|
||||
* ```
|
||||
* FILE* f = fopen("file.txt", "r");
|
||||
* ...
|
||||
|
||||
Reference in New Issue
Block a user