Skip to content

Commit

Permalink
Update analyzer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dpnishant committed Apr 2, 2014
1 parent 99af861 commit 5410dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ function checkInFunctionCall(sink, val, sinkObj) {
}
}
}
if (sinkWithConstantParam.indexOf(sink) != -1) {
if (sinkWithConstantParam && (sinkWithConstantParam.indexOf(sink) != -1)) {
for (var j = 0; j < real_func_call[i].arguments.literals.length; j++) {
var args = real_func_call[i].arguments.literals[j].split("+");
for (var k = 0; k < args.length; k++) {
Expand Down

0 comments on commit 5410dc3

Please sign in to comment.