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

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

Test Case IDAccepted2107
Bad / Good / MixedBadBad test case
AuthorCharline Cleraux
Associations
Test suite: 63  
Added byCharline Cleraux
LanguageJava
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2009-08-24
DescriptionThis test is an example of a \"potential\" null pointer dereference, with an inter-procedural scope complexity. If a system variable \"java.class.path\" is undefined, then any attempt to use its value will result in a null pointer dereference.
File(s)
Flaw

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

File Contains:
CWE-476: NULL Pointer Dereference on line(s): 0, 31, 48