From f9d21d975071ed9ed47749154175e6e571a3d6e9 Mon Sep 17 00:00:00 2001 From: jihye1 <36979920+jihye1@users.noreply.github.com> Date: Fri, 21 Dec 2018 13:54:55 +0900 Subject: [PATCH 1/4] Update cwe.js --- cwe.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cwe.js b/cwe.js index 29299c8..66ca0b4 100644 --- a/cwe.js +++ b/cwe.js @@ -73,3 +73,7 @@ } } + function test_2018_12_21() { + const a = 1; + a = 3; + } From 4d2b2133ae983cf3e19e6fb67b6689ff3203ac06 Mon Sep 17 00:00:00 2001 From: jihye1 <36979920+jihye1@users.noreply.github.com> Date: Fri, 21 Dec 2018 13:57:10 +0900 Subject: [PATCH 2/4] Update cwe.js --- cwe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwe.js b/cwe.js index 66ca0b4..6a7e96b 100644 --- a/cwe.js +++ b/cwe.js @@ -67,7 +67,7 @@ } function CWE_670(x) { // STRAY_SEMICOLON - while (++x <= 10) ; + while (++x <= 10) { sum += x; } From 564df168902dd4f250bab7ece64cbd51d655255a Mon Sep 17 00:00:00 2001 From: jihye1 <36979920+jihye1@users.noreply.github.com> Date: Fri, 21 Dec 2018 14:08:35 +0900 Subject: [PATCH 3/4] Update cwe.js --- cwe.js | 1 - 1 file changed, 1 deletion(-) diff --git a/cwe.js b/cwe.js index 6a7e96b..c6ecfa9 100644 --- a/cwe.js +++ b/cwe.js @@ -29,7 +29,6 @@ function CWE_482_665() { // UNUSED_EXPR this.foo; } - function CWE_484() { // SWITCH_CASE_FALL_THROUGH var x; switch (x) { From 20979a7cefd32670b4ee3e4880988ff2db07ea24 Mon Sep 17 00:00:00 2001 From: jihye1 <36979920+jihye1@users.noreply.github.com> Date: Fri, 21 Dec 2018 14:19:13 +0900 Subject: [PATCH 4/4] Update cwe.js --- cwe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwe.js b/cwe.js index c6ecfa9..cb53b9b 100644 --- a/cwe.js +++ b/cwe.js @@ -66,7 +66,7 @@ } function CWE_670(x) { // STRAY_SEMICOLON - while (++x <= 10) + while (++x <= 10) ; { sum += x; }