Skip to content

Commit aca3970

Browse files
committed
C++: Fix QLoc on 'isPartialWrite'.
1 parent be54a41 commit aca3970

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/ql/lib/semmle/code/cpp/models/interfaces/PartialFlow.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import semmle.code.cpp.models.Models
2020
*/
2121
abstract class PartialFlowFunction extends Function {
2222
/**
23-
* Holds if the write to `output` either is:
24-
* - Only partially updating the `output`
25-
* - Is not unconditional
23+
* Holds if the write to output does not overwrite the entire value that was
24+
* there before, or does not do so reliably. For example the destination
25+
* argument of `strcat` is modified but not overwritten.
2626
*/
2727
predicate isPartialWrite(FunctionOutput output) { none() }
2828
}

0 commit comments

Comments
 (0)