File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
java/ql/src/experimental/Security/CWE/CWE-600 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929 <a href =" https://cwe.mitre.org/data/definitions/600.html" >CWE-600: Uncaught Exception in Servlet</a >
3030 </li >
3131 <li >
32- Sonarsource :
32+ SonarSource :
3333 <a href =" https://rules.sonarsource.com/java/tag/owasp/RSPEC-1989" >Exceptions should not be thrown from servlet methods</a >
3434 </li >
3535 <li >
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class ThrowExConfiguration extends DataFlow2::Configuration {
2626
2727 /** Sink of `ThrowStmt` */
2828 override predicate isSink ( DataFlow:: Node sink ) {
29- exists ( ThrowStmt ts | sink .asExpr ( ) = ts .getExpr ( ) ) // e.g. the uhex exception throwed in `catch (UnknownHostException uhex) {throw uhex;}`
29+ exists ( ThrowStmt ts | sink .asExpr ( ) = ts .getExpr ( ) ) // e.g. the uhex exception thrown in `catch (UnknownHostException uhex) {throw uhex;}`
3030 }
3131
3232 /**
You can’t perform that action at this time.
0 commit comments