File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
lib/semmle/javascript/security/regexp
src/experimental/Security/CWE-918 Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ module PolynomialReDoSConfig implements DataFlow::ConfigSig {
29
29
predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
30
30
31
31
Location getASelectedSinkLocation ( DataFlow:: Node sink ) {
32
- result = sink .( Sink ) .getLocation ( )
33
- or
34
32
result = sink .( Sink ) .getHighlight ( ) .getLocation ( )
35
33
or
36
34
result = sink .( Sink ) .getRegExp ( ) .getLocation ( )
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ module SsrfConfig implements DataFlow::ConfigSig {
29
29
30
30
predicate isBarrierOut ( DataFlow:: Node node ) { strictSanitizingPrefixEdge ( node , _) }
31
31
32
+ Location getASelectedSourceLocation ( DataFlow:: Node source ) {
33
+ none ( ) // Does not select the source
34
+ }
35
+
32
36
predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
33
37
}
34
38
You can’t perform that action at this time.
0 commit comments