Skip to content

Commit 0c02989

Browse files
committed
C++: Autoformat.
1 parent 49bbfef commit 0c02989

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cpp/ql/src/Security/CWE/CWE-367/TOCTOUFilesystemRace.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ where
116116
)
117117
) and
118118
// `checkPath` and `usePath` refer to the same SSA variable
119-
exists(SsaDefinition def, StackVariable v | def.getAUse(v) = checkPath and def.getAUse(v) = usePath) and
119+
exists(SsaDefinition def, StackVariable v |
120+
def.getAUse(v) = checkPath and def.getAUse(v) = usePath
121+
) and
120122
// `op` looks like an operation on a filename
121123
use = filenameOperation(usePath) and
122124
// the return value of `check` is used (possibly with one step of

0 commit comments

Comments
 (0)