File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
go/ql/lib/semmle/go/security Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,9 @@ module LogInjection {
6969 * Gets an argument to this call corresponding to a string that will be
7070 * replaced.
7171 */
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+ }
7375 }
7476
7577 /**
Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ module StringBreak {
116116 * Gets an argument to this call corresponding to a string that will be
117117 * replaced.
118118 */
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+ }
120122 }
121123
122124 /**
You can’t perform that action at this time.
0 commit comments