Skip to content

Commit 1cc7e8b

Browse files
committed
Format OutOfBounds.qll
1 parent 8eb193a commit 1cc7e8b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

c/common/src/codingstandards/c/OutOfBounds.qll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,8 @@ module OOB {
712712
}
713713

714714
private class DynamicAllocationSource extends PointerToObjectSource instanceof AllocationExpr,
715-
FunctionCall {
715+
FunctionCall
716+
{
716717
DynamicAllocationSource() {
717718
// exclude OperatorNewAllocationFunction to only deal with raw malloc-style calls,
718719
// which do not apply a multiple to the size of the allocation passed to them.
@@ -905,7 +906,8 @@ module OOB {
905906
override predicate isNotNullTerminated() { none() }
906907
}
907908

908-
private class PointerToObjectSourceOrSizeToBufferAccessFunctionConfig extends DataFlow::Configuration {
909+
private class PointerToObjectSourceOrSizeToBufferAccessFunctionConfig extends DataFlow::Configuration
910+
{
909911
PointerToObjectSourceOrSizeToBufferAccessFunctionConfig() {
910912
this = "PointerToObjectSourceOrSizeToBufferAccessFunctionConfig"
911913
}

0 commit comments

Comments
 (0)