diff --git a/cpp/ql/src/semmle/code/cpp/models/implementations/Allocation.qll b/cpp/ql/src/semmle/code/cpp/models/implementations/Allocation.qll index b3e903323cf..4f49d695378 100644 --- a/cpp/ql/src/semmle/code/cpp/models/implementations/Allocation.qll +++ b/cpp/ql/src/semmle/code/cpp/models/implementations/Allocation.qll @@ -77,6 +77,9 @@ class MallocAllocationFunction extends AllocationFunction { or // CoTaskMemAlloc(size) name = "CoTaskMemAlloc" and sizeArg = 0 + or + // alloca(size) + name = "alloca" and sizeArg = 0 ) ) }