Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit ed3a06e

Browse files
author
Max Schaefer
committed
Autoformat QL.
1 parent b871f54 commit ed3a06e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ql/src/semmle/go/security/AllocationSizeOverflowCustomizations.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ module AllocationSizeOverflow {
5151
exists(MarshalingFunction marshal, DataFlow::CallNode call |
5252
call = marshal.getACall() and
5353
// rule out cases where we can tell that the result will always be small
54-
exists(FunctionInput inp | inp = marshal.getAnInput() |
55-
isBig(inp.getNode(call).asExpr())
56-
) and
54+
exists(FunctionInput inp | inp = marshal.getAnInput() | isBig(inp.getNode(call).asExpr())) and
5755
this = marshal.getOutput().getNode(call)
5856
)
5957
}

0 commit comments

Comments
 (0)