Skip to content

Commit 4766e4d

Browse files
author
Nikita Kraiouchkine
committed
Correct OutOfBounds.qll format
1 parent 5f8a6f7 commit 4766e4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,7 @@ module OOB {
643643
}
644644

645645
class DynamicAllocationSource extends PointerToObjectSource instanceof AllocationExpr,
646-
FunctionCall
647-
{
646+
FunctionCall {
648647
DynamicAllocationSource() {
649648
// exclude OperatorNewAllocationFunction to only deal with raw malloc-style calls,
650649
// which do not apply a multiple to the size of the allocation passed to them.

0 commit comments

Comments
 (0)