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

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

Test Case IDAccepted2105
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 a one level of address aliasing. If a system variable \"java.class.path\" is undefined, then any attempt to use its value will result in a null pointer dereference. Code complexity: adress alias level
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