File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
python/ql/src/semmle/python/security Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,9 @@ abstract class Sanitizer extends string {
323323 * there are no `TaintTracking::Configuration`s.
324324 */
325325private predicate valid_sanitizer ( Sanitizer sanitizer ) {
326- forall ( TaintTracking:: Configuration c | c .isSanitizer ( sanitizer ) )
326+ not exists ( TaintTracking:: Configuration c )
327+ or
328+ exists ( TaintTracking:: Configuration c | c .isSanitizer ( sanitizer ) )
327329}
328330
329331/** DEPRECATED -- Use DataFlowExtension instead.
@@ -850,7 +852,11 @@ library module TaintFlowImplementation {
850852 or
851853 exists ( DataFlowNode fromnodenode |
852854 fromnodenode = fromnode .getNode ( ) and
853- forall ( TaintTracking:: Configuration c | c .isExtension ( fromnodenode ) )
855+ (
856+ not exists ( TaintTracking:: Configuration c )
857+ or
858+ exists ( TaintTracking:: Configuration c | c .isExtension ( fromnodenode ) )
859+ )
854860 |
855861 fromnodenode .getASuccessorNode ( ) = tonode and
856862 fromnode .getContext ( ) = tocontext and
You can’t perform that action at this time.
0 commit comments