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

Skip to content

Commit 7502c6f

Browse files
MathiasVPjbj
andauthored
Set mustWrite to false in response to PR feedback
Co-authored-by: Jonas Jensen <[email protected]>
1 parent 866b136 commit 7502c6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • cpp/ql/src/semmle/code/cpp/models/implementations

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class GetDelimFunction extends TaintFunction, AliasFunction, SideEffectFunction,
2626
override predicate hasSpecificWriteSideEffect(ParameterIndex i, boolean buffer, boolean mustWrite) {
2727
i = [0, 1] and
2828
buffer = false and
29-
mustWrite = true
29+
mustWrite = false
3030
}
3131

3232
override predicate hasSpecificReadSideEffect(ParameterIndex i, boolean buffer) {

0 commit comments

Comments
 (0)