We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e34019 commit 5dd61e3Copy full SHA for 5dd61e3
cpp/ql/src/Likely Bugs/Memory Management/ReturnStackAllocatedMemory.ql
@@ -44,7 +44,7 @@ class ReturnStackAllocatedMemoryConfig extends MustFlowConfiguration {
44
// Holds if `sink` is a node that represents the `StoreInstruction` that is subsequently used in
45
// a `ReturnValueInstruction`.
46
// We use the `StoreInstruction` instead of the instruction that defines the
47
- // `ReturnValueInstruction`'s source value oprand because the former has better location information.
+ // `ReturnValueInstruction`'s source value operand because the former has better location information.
48
exists(StoreInstruction store |
49
store.getDestinationAddress().(VariableAddressInstruction).getIRVariable() instanceof
50
IRReturnVariable and
0 commit comments