You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
andmsg="Static field "+f+" of type "+f.getType()+", implements 'System.Security.Cryptography.ICryptoTransform', but it does not have an attribute [ThreadStatic]. The usage of this class is unsafe for concurrent threads."
", implements 'System.Security.Cryptography.ICryptoTransform', but it does not have an attribute [ThreadStatic]. The usage of this class is unsafe for concurrent threads."
andmsg="Static field "+f+" of type "+f.getType()+" makes usage of 'System.Security.Cryptography.ICryptoTransform', but it does not have an attribute [ThreadStatic]. The usage of this class is unsafe for concurrent threads."
" makes usage of 'System.Security.Cryptography.ICryptoTransform', but it does not have an attribute [ThreadStatic]. The usage of this class is unsafe for concurrent threads."
75
73
)
76
74
)
77
75
)
78
-
or(hasICryptoTransformStaticMemberNested(c)
79
-
andmsg="Class"+c+" implementation depends on a static object of type 'System.Security.Cryptography.ICryptoTransform' in a way that is unsafe for concurrent threads."
80
-
)
76
+
or
77
+
hasICryptoTransformStaticMemberNested(c)and
78
+
msg="Class"+c+
79
+
" implementation depends on a static object of type 'System.Security.Cryptography.ICryptoTransform' in a way that is unsafe for concurrent threads."
* @name Potential usage of an object implementing ICryptoTransform class in a way that would be unsafe for concurrent threads.
3
-
* @description An instance of a class that either implements or has a field of type System.Security.Cryptography.ICryptoTransform is being captured by a lambda,
3
+
* @description An instance of a class that either implements or has a field of type System.Security.Cryptography.ICryptoTransform is being captured by a lambda,
4
4
* and used in what seems to be a thread initialization method.
5
-
* Using an instance of this class in concurrent threads is dangerous as it may not only result in an error,
5
+
* Using an instance of this class in concurrent threads is dangerous as it may not only result in an error,
6
6
* but under some circumstances may also result in incorrect results.
andm="A $@ seems to be used to start a new thread is capturing a local variable that either implements 'System.Security.Cryptography.ICryptoTransform' or has a field of this type."
m="A $@ seems to be used to start a new thread is capturing a local variable that either implements 'System.Security.Cryptography.ICryptoTransform' or has a field of this type."
0 commit comments