Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e18f290

Browse files
committed
C++: Correct comment.
1 parent ef131d3 commit e18f290

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/ql/src/semmle/code/cpp/models/implementations/Allocation.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private class MallocAllocationFunction extends AllocationFunction {
2828
"MmAllocateMappingAddress", // MmAllocateMappingAddress(size, tag)
2929
// --- Windows COM allocation
3030
"CoTaskMemAlloc", // CoTaskMemAlloc(size)
31-
// --- Linux kernel memory allocator
31+
// --- Solaris/BSD kernel memory allocator
3232
"kmem_alloc", // kmem_alloc(size, flags)
3333
"kmem_zalloc", // kmem_zalloc(size, flags)
3434
// --- OpenSSL memory allocation

cpp/ql/src/semmle/code/cpp/models/implementations/Deallocation.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private class StandardDeallocationFunction extends DeallocationFunction {
3535
"CoTaskMemFree", "CoTaskMemRealloc",
3636
// --- Windows Automation
3737
"SysFreeString",
38-
// --- Linux kernel memory allocator
38+
// --- Solaris/BSD kernel memory allocator
3939
"kmem_free"
4040
]) and
4141
freedArg = 0

0 commit comments

Comments
 (0)