File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
go/ql/src/Security/CWE-079 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ predicate isSinkToTemplateExec(DataFlow::Node sink) {
38
38
}
39
39
40
40
/**
41
- * Data flow configuration that tracks flows from untrusted sources (A) to template execution calls (C),
42
- * and tracks whether a conversion to a passthrough type (B) has occurred .
41
+ * Data flow configuration that tracks flows from untrusted sources to template execution calls
42
+ * which go through a conversion to an unescaped type.
43
43
*/
44
44
module UntrustedToTemplateExecWithConversionConfig implements DataFlow:: StateConfigSig {
45
45
private newtype TConversionState =
46
46
TUnconverted ( ) or
47
47
TConverted ( UnescapedType unescapedType )
48
48
49
49
/**
50
- * Flow state for tracking whether a conversion to a passthrough type has occurred.
50
+ * Flow state for tracking whether a conversion to an unescaped type has occurred.
51
51
*/
52
52
class FlowState extends TConversionState {
53
53
predicate isBeforeConversion ( ) { this instanceof TUnconverted }
You can’t perform that action at this time.
0 commit comments