File tree 2 files changed +6
-2
lines changed
go/ql/lib/semmle/go/security
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,9 @@ module LogInjection {
69
69
* Gets an argument to this call corresponding to a string that will be
70
70
* replaced.
71
71
*/
72
- DataFlow:: Node getAReplacedArgument ( ) { exists ( int n | n % 2 = 0 and result = getArgument ( n ) ) }
72
+ DataFlow:: Node getAReplacedArgument ( ) {
73
+ exists ( int n | n % 2 = 0 and result = this .getArgument ( n ) )
74
+ }
73
75
}
74
76
75
77
/**
Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ module StringBreak {
116
116
* Gets an argument to this call corresponding to a string that will be
117
117
* replaced.
118
118
*/
119
- DataFlow:: Node getAReplacedArgument ( ) { exists ( int n | n % 2 = 0 and result = getArgument ( n ) ) }
119
+ DataFlow:: Node getAReplacedArgument ( ) {
120
+ exists ( int n | n % 2 = 0 and result = this .getArgument ( n ) )
121
+ }
120
122
}
121
123
122
124
/**
You can’t perform that action at this time.
0 commit comments