We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e06a54c + 8d1b080 commit 7f29465Copy full SHA for 7f29465
1 file changed
javascript/ql/src/semmle/javascript/Expr.qll
@@ -1519,7 +1519,8 @@ class AddExpr extends @addexpr, BinaryExpr {
1519
override string getOperator() { result = "+" }
1520
1521
override string getStringValue() {
1522
- result = getLeftOperand().getStringValue() + getRightOperand().getStringValue()
+ result = getLeftOperand().getStringValue() + getRightOperand().getStringValue() and
1523
+ result.length() < 1000 * 1000
1524
}
1525
1526
0 commit comments