Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a5838f

Browse files
committed
MethodAccess => MethodCall
1 parent e87d2fe commit 7a5838f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

java/ql/src/experimental/semmle/code/java/security/FileAndFormRemoteSource.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module ApacheCommonsFileUpload {
2828

2929
class ServletFileUpload extends RemoteFlowSource {
3030
ServletFileUpload() {
31-
exists(MethodAccess ma |
31+
exists(MethodCall ma |
3232
ma.getReceiverType() instanceof TypeServletFileUpload and
3333
ma.getCallee().hasName("parseRequest") and
3434
this.asExpr() = ma
@@ -40,7 +40,7 @@ module ApacheCommonsFileUpload {
4040

4141
private class FileItemRemoteSource extends RemoteFlowSource {
4242
FileItemRemoteSource() {
43-
exists(MethodAccess ma |
43+
exists(MethodCall ma |
4444
ma.getReceiverType() instanceof TypeFileUpload and
4545
ma.getCallee()
4646
.hasName([
@@ -55,7 +55,7 @@ module ApacheCommonsFileUpload {
5555

5656
private class FileItemStreamRemoteSource extends RemoteFlowSource {
5757
FileItemStreamRemoteSource() {
58-
exists(MethodAccess ma |
58+
exists(MethodCall ma |
5959
ma.getReceiverType() instanceof TypeFileItemStream and
6060
ma.getCallee().hasName(["getContentType", "getFieldName", "getName", "openStream"]) and
6161
this.asExpr() = ma
@@ -102,7 +102,7 @@ module ServletRemoteMultiPartSources {
102102

103103
private class ServletPartCalls extends RemoteFlowSource {
104104
ServletPartCalls() {
105-
exists(MethodAccess ma |
105+
exists(MethodCall ma |
106106
ma.getReceiverType() instanceof TypePart and
107107
ma.getCallee()
108108
.hasName([

0 commit comments

Comments
 (0)