mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Fix typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -59,7 +59,7 @@ abstract class FileClose extends DataFlow::CfgNode {
|
||||
// The exception is after the close call.
|
||||
// A full cfg reachability check is not in general feasible for performance, so we approximate it with:
|
||||
// - A basic block reachability check (here) that works if the expression and close call are in different basic blocks
|
||||
// - A check (in the `WithStatement` override of `gaurdsExceptions`) for the case where the exception call
|
||||
// - A check (in the `WithStatement` override of `guardsExceptions`) for the case where the exception call
|
||||
// is lexically contained in the body of a `with` statement that closes the file.
|
||||
// This may cause FPs in a case such as:
|
||||
// f.close()
|
||||
|
||||
Reference in New Issue
Block a user