Back to the previous page
Test Case ID | ![]() |
Bad / Good / Mixed | Bad![]() |
Author | IARPA STONESOUP Test and Evaluation team |
Associations | Test suite: 102 Application: 16 |
Added by | Charles Oliveira |
Language | Java |
Type of test case | Source Code |
Input string | |
Expected Output | |
Instructions | See src/build.xml. |
Submission date | 2015-10-06 |
Description | This test takes a string, and reads through the string, printing out each character with ASCII value greater than 48. If it encounters a character with ASCII value less than 48, it will fail to increment the loop counter, and loop forever. Metadata - Base program: JTree - Source Taint: SOCKET - Data Type: SIMPLE - Data Flow: BASIC - Control Flow: SEQUENCE |
File(s) |
|
Flaw |
There are no comments
Have any comments on this test case? Please,
.
- JTreeOptions.java
- service_mon.sh
- J-C835A-JTRE-01-ST03-DT02-DF11-CF20-01.yaml
- runFifos.py
- J-C835A-JTRE-01-ST03-DT02-DF11-CF20-01.xml
File Contains:
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') on line(s): 225, 226, 227, 228, 229, 230, 231, 232
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') on line(s): 225, 226, 227, 228, 229, 230, 231, 232