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 {
2929 predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
3030
3131 Location getASelectedSinkLocation ( DataFlow:: Node sink ) {
32- result = sink .( Sink ) .getLocation ( )
33- or
3432 result = sink .( Sink ) .getHighlight ( ) .getLocation ( )
3533 or
3634 result = sink .( Sink ) .getRegExp ( ) .getLocation ( )
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ module SsrfConfig implements DataFlow::ConfigSig {
2929
3030 predicate isBarrierOut ( DataFlow:: Node node ) { strictSanitizingPrefixEdge ( node , _) }
3131
32+ Location getASelectedSourceLocation ( DataFlow:: Node source ) {
33+ none ( ) // Does not select the source
34+ }
35+
3236 predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
3337}
3438
You can’t perform that action at this time.
0 commit comments