diff --git a/cwe.js b/cwe.js index bb09a12..376d570 100644 --- a/cwe.js +++ b/cwe.js @@ -60,7 +60,7 @@ } function CWE_670(x) { // STRAY_SEMICOLON - while (++x <= 10) ; + while (++x >= 10) ; { sum += x; }