SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #2106

Back to the previous page... Back to the previous page

Test Case IDAccepted2106
Bad / Good / MixedBadBad test case
AuthorCharline Cleraux
Test suite: 63  
Added byCharline Cleraux
Type of test caseSource Code
Input string
Expected Output
Submission date2009-08-24
DescriptionThis test is an example of a \"potential\" null pointer dereference, with a local control flow complexity, which is a \"switch\" conditional structure. If a system variable \"java.class.path\" is undefined, then any attempt to use its value will result in a null pointer dereference.

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-476: NULL Pointer Dereference on line(s): 41