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 {
7979}
8080
8181/**
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
8383 */
8484class UnsafeXmlReadMethod extends Method {
8585 UnsafeXmlReadMethod ( ) {
@@ -91,8 +91,7 @@ class UnsafeXmlReadMethod extends Method {
9191 this .getName ( ) .matches ( "ReadXml%" ) and
9292 exists ( Class c |
9393 c .getAMethod ( ) = this |
94- c .getABaseType * ( ) instanceof DataSetOrTableRelatedClass or
95- c .getABaseType * ( ) instanceof DataSetOrTableRelatedClass
94+ c .getABaseType * ( ) instanceof DataSetOrTableRelatedClass
9695 )
9796 )
9897 }
You can’t perform that action at this time.
0 commit comments