Skip to content

Commit 2cbb25a

Browse files
author
Stephan Brandauer
committed
another review fix
1 parent 8f1a359 commit 2cbb25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/Handlebars.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private module HandlebarsTaintSteps {
140140
compileCall.getArgument(0).mayHaveStringValue(templateText)
141141
|
142142
pred =
143-
templatingCall.getAnArgument().getALocalSource().getAPropertyWrite(paramName).getRhs() and
143+
templatingCall.getArgument(0).getALocalSource().getAPropertyWrite(paramName).getRhs() and
144144
isTemplateHelperCallArg(templateText, helperName, argIdx, paramName) and
145145
succ = getRegisteredHelperParam(helperName, helperFunction, argIdx)
146146
)

0 commit comments

Comments
 (0)