Skip to content

Commit c89f7d8

Browse files
committed
C++: Back out support for SysAllocString. It turns out supporting all of the SysAlloc stuff is beyond our current models, supporting just SysFreeString as we do is OK.
1 parent 4bf2f3a commit c89f7d8

File tree

1 file changed

+1
-3
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ private class StrdupFunction extends AllocationFunction, ArrayFunction, DataFlow
1919
"wcsdup", // wcsdup(str)
2020
"_strdup", // _strdup(str)
2121
"_wcsdup", // _wcsdup(str)
22-
"_mbsdup", // _mbsdup(str)
23-
// --- Windows Automation
24-
"SysAllocString" // SysAllocString(string)
22+
"_mbsdup" // _mbsdup(str)
2523
])
2624
}
2725

0 commit comments

Comments
 (0)