Skip to content

Commit e00ed39

Browse files
committed
C++: OverrunWriteProductFlow (revert because product flows cannot be diff-informed)
1 parent 2900785 commit e00ed39

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

cpp/ql/src/Security/CWE/CWE-119/OverrunWriteProductFlow.ql

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,6 @@ module StringSizeConfig implements ProductFlow::StateConfigSig {
223223
state1 = state2 + delta
224224
)
225225
}
226-
227-
predicate observeDiffInformedIncrementalMode() {
228-
any() // TODO: Make sure that the location overrides match the query's select clause: Column 1 does not select a source or sink originating from the flow call on line 263 (/Users/d10c/src/semmle-code/ql/cpp/ql/src/Security/CWE/CWE-119/OverrunWriteProductFlow.ql@269:8:269:41), Column 5 does not select a source or sink originating from the flow call on line 263 (/Users/d10c/src/semmle-code/ql/cpp/ql/src/Security/CWE/CWE-119/OverrunWriteProductFlow.ql@270:58:270:63), Flow call outside 'select' clause (/Users/d10c/src/semmle-code/ql/cpp/ql/src/Security/CWE/CWE-119/OverrunWriteProductFlow.ql@249:5:249:76)
229-
}
230-
231-
Location getASelectedSinkLocation(DataFlow::Node sink) {
232-
none() // TODO: Make sure that this sink location matches the query's select clause: Column 1 does not select a source or sink originating from the flow call on line 263 (/Users/d10c/src/semmle-code/ql/cpp/ql/src/Security/CWE/CWE-119/OverrunWriteProductFlow.ql@269:8:269:41), Column 5 does not select a source or sink originating from the flow call on line 263 (/Users/d10c/src/semmle-code/ql/cpp/ql/src/Security/CWE/CWE-119/OverrunWriteProductFlow.ql@270:58:270:63), Flow call outside 'select' clause (/Users/d10c/src/semmle-code/ql/cpp/ql/src/Security/CWE/CWE-119/OverrunWriteProductFlow.ql@249:5:249:76)
233-
}
234226
}
235227

236228
module StringSizeFlow = ProductFlow::GlobalWithState<StringSizeConfig>;

0 commit comments

Comments
 (0)