National Institute of Standards and Technology
Package illustrating a test case

Test case 82075

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: 02 Control flow: if(1) and if(0)

Flaws

Test Suites

Documentation

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