National Institute of Standards and Technology
Package illustrating a test case

Test case 140077

Description

CWE: 477 Use of Obsolete Functions
Sinks: String_getBytes
GoodSink: Use of preferred java.lang.String.getBytes() method
BadSink : Use of deprecated java.lang.String.getBytes(int, int, byte[], int) method
Flow Variant: 12 Control flow: if(IO.staticReturnsTrueOrFalse())

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.