File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
java/ql/src/experimental/Security/CWE/CWE-348 Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ private class CompareSink extends UseOfLessTrustedSink {
5858 ma .getAnArgument ( )
5959 .( CompileTimeConstantExpr )
6060 .getStringValue ( )
61- .regexpMatch ( "^((10\\.((1\\d{2})?|(2[0-4]\\d)?|(25[0-5])?|([1-9]\\d|[0-9])?)(\\.)?)|(192\\.168\\.)|172\\.(1[6789]|2[0-9]|3[01])\\.)((1\\d{2})?|(2[0-4]\\d)?|(25[0-5])?|([1-9]\\d|[0-9])?)(\\.)?((1\\d{2})?|(2[0-4]\\d)?|(25[0-5])?|([1-9]\\d|[0-9])?)$" )
61+ .regexpMatch ( "^((10\\.((1\\d{2})?|(2[0-4]\\d)?|(25[0-5])?|([1-9]\\d|[0-9])?)(\\.)?)|(192\\.168\\.)|172\\.(1[6789]|2[0-9]|3[01])\\.)((1\\d{2})?|(2[0-4]\\d)?|(25[0-5])?|([1-9]\\d|[0-9])?)(\\.)?((1\\d{2})?|(2[0-4]\\d)?|(25[0-5])?|([1-9]\\d|[0-9])?)$" ) // Matches IP-address-like strings
6262 )
6363 or
6464 exists ( MethodAccess ma |
You can’t perform that action at this time.
0 commit comments