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

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

Test Case IDAccepted2099
Bad / Good / MixedBadBad test case
AuthorCharline Cleraux
Associations
Test suite: 63  65  
Added byMichael Kass
LanguageJava
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2009-08-22
DescriptionThis test is an example of a \"potential\" null pointer dereference. 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): 38