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

Skip to content

Commit 273848c

Browse files
committed
remove old comments
1 parent a536328 commit 273848c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cpp/ql/src/experimental/Security/CWE/CWE-409-DecompressionBomb/DecompressionBombs.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,10 @@ module DecompressionTaintConfig implements DataFlow::StateConfigSig {
115115
(
116116
exists(FunctionCall fc | fc.getTarget() instanceof GzopenFunction |
117117
fc.getArgument(0) = source.asExpr() and
118-
// arg 0 can be a path string whichwe must do following check
118+
// arg 0 can be a path string which we must do following check
119119
not fc.getArgument(0).isConstant()
120120
)
121121
or
122-
// IDK whether it is good to use all file decriptors function returns as source or not
123-
// because we can do more sanitization from fd function sources
124122
exists(FunctionCall fc | fc.getTarget() instanceof GzdopenFunction |
125123
fc.getArgument(0) = source.asExpr()
126124
)

0 commit comments

Comments
 (0)