File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
csharp/ql/src/experimental/Security Features/Serialization Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class UnsafeXmlSerializerImplementation extends SerializableClass {
79
79
}
80
80
81
81
/**
82
- * Method that may be unsafe when used to serialize DataSet and DataTable related types
82
+ * Method that may be unsafe when used to deserialize DataSet and DataTable related types
83
83
*/
84
84
class UnsafeXmlReadMethod extends Method {
85
85
UnsafeXmlReadMethod ( ) {
@@ -91,8 +91,7 @@ class UnsafeXmlReadMethod extends Method {
91
91
this .getName ( ) .matches ( "ReadXml%" ) and
92
92
exists ( Class c |
93
93
c .getAMethod ( ) = this |
94
- c .getABaseType * ( ) instanceof DataSetOrTableRelatedClass or
95
- c .getABaseType * ( ) instanceof DataSetOrTableRelatedClass
94
+ c .getABaseType * ( ) instanceof DataSetOrTableRelatedClass
96
95
)
97
96
)
98
97
}
You can’t perform that action at this time.
0 commit comments