Deprecated test case
Description
CWE: 470 Unsafe Reflection
BadSource: fromFile Read data from file (named c:\data.txt)
GoodSource: Hardcoded class to load
Sinks:
GoodSink: instantiate only certain fixed classes
BadSink : instantiate arbitrary class
Flow Variant: 42 Data flow: data returned from one method to another in the same class
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.