From 213abc66428fc686c2fd4275559a0f0fb8c859e1 Mon Sep 17 00:00:00 2001 From: ihsinme Date: Sun, 19 Feb 2023 21:42:48 +0300 Subject: [PATCH] Update DivideByZeroUsingReturnValue.expected --- .../semmle/tests/DivideByZeroUsingReturnValue.expected | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-369/semmle/tests/DivideByZeroUsingReturnValue.expected b/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-369/semmle/tests/DivideByZeroUsingReturnValue.expected index 45bf0d09aed..b8296505cb8 100644 --- a/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-369/semmle/tests/DivideByZeroUsingReturnValue.expected +++ b/cpp/ql/test/experimental/query-tests/Security/CWE/CWE-369/semmle/tests/DivideByZeroUsingReturnValue.expected @@ -1,8 +1,6 @@ | test.cpp:47:24:47:31 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:48:15:48:34 | ... / ... | Can lead to division by 0, since the function getSize2 can return a value 0. | | test.cpp:53:10:53:17 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | -| test.cpp:61:25:61:32 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | -| test.cpp:63:25:63:32 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:65:15:65:22 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:68:15:68:22 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:71:9:71:16 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | @@ -10,7 +8,6 @@ | test.cpp:77:21:77:28 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:79:25:79:32 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:81:24:81:31 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | -| test.cpp:85:10:85:17 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:128:10:128:16 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:135:10:135:16 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:141:10:141:23 | ... / ... | Can lead to division by 0, since the function getSize can return a value 0. | @@ -22,11 +19,9 @@ | test.cpp:202:12:202:25 | ... / ... | Can lead to division by 0, since the function getSize can return a value 1. | | test.cpp:205:10:205:23 | ... / ... | Can lead to division by 0, since the function getSize can return a value 1. | | test.cpp:210:10:210:23 | ... / ... | Can lead to division by 0, since the function getSize can return a value 3. | -| test.cpp:226:21:226:27 | ... / ... | Can lead to division by 0, since the function getc can return a value 0. | | test.cpp:258:3:258:10 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:259:3:259:10 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 2. | | test.cpp:260:3:260:13 | call to badMySubDiv | Can lead to division by 0, since the function getSize can return a value 3. | | test.cpp:263:5:263:15 | call to badMySubDiv | Can lead to division by 0, since the function getSize can return a value 3. | -| test.cpp:269:5:269:12 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 0. | | test.cpp:273:5:273:12 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value 3. | | test.cpp:275:5:275:12 | call to badMyDiv | Can lead to division by 0, since the function getSize can return a value -1. |