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

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

Test Case IDDeprecated47581
Bad / Good / MixedMixedMixed test case
Author
Associations
Test suite: 69  
Added bySAMATE Team Staff
LanguageJava
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2011-04-08
DescriptionJava code makes a call into a potentially unsafe unmanaged DLL.
The bad case allows the user to specify the length of the input string.
In addition, the case does not recognize the limitations of the unmanaged
code and does no input validation.
File(s)
Flaw

There is 1 comment
Have any comments on this test case? Please, .


					
				

					
				
File Contains:
CWE-111: Direct Use of Unsafe JNI on line(s): 54