National Institute of Standards and Technology
Package illustrating a test case

Test case 82077

Description

CWE: 188 Reliance on Data Memory Layout
Sinks: modify_local
GoodSink: Modify the second field of the struct using the field name
BadSink : Attempt to modify second field in struct, assuming the first field is an int
Flow Variant: 04 Control flow: if(STATIC_CONST_TRUE) and if(STATIC_CONST_FALSE)

Flaws

Test Suites

Documentation

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