Back to the previous page
Test Case ID | ![]() |
Bad / Good / Mixed | Bad![]() |
Author | Toyota ITC |
Associations | Good pair: 199260 Test suite: 104 |
Added by | Charles Oliveira |
Language | C |
Type of test case | Source Code |
Input string | |
Expected Output | |
Instructions | gcc -Wall -I ../../../shared/104 endless_loop.c endless_loop_main.c -lm -lpthread |
Submission date | 2016-07-22 |
Description | Defect Type: Misc defects Defect Sub-type: Unintentional end less loop The test case contains coincidental weaknesses along with intended ones as follows for file endless_loop.c: * line(s): 24,41,57,74,95,111,133,150,166 CWE-190 * line(s): 26,43,59,76,97,113,135,152,169 CWE-561 |
File(s) |
|
Flaw |
There are no comments
Have any comments on this test case? Please,
.
File Contains:
CWE-561: Dead Code on line(s): 26, 43, 59, 76, 97, 113, 135, 152, 169
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') on line(s): 24, 41, 57, 74, 95, 111, 133, 150, 166
CWE-190: Integer Overflow or Wraparound on line(s): 24, 41, 57, 74, 95, 111, 133, 150, 166
CWE-561: Dead Code on line(s): 26, 43, 59, 76, 97, 113, 135, 152, 169
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') on line(s): 24, 41, 57, 74, 95, 111, 133, 150, 166
CWE-190: Integer Overflow or Wraparound on line(s): 24, 41, 57, 74, 95, 111, 133, 150, 166