National Institute of Standards and Technology
Package illustrating a test case

Test case 82087

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: 14 Control flow: if(globalFive==5) and if(globalFive!=5)

Flaws

Test Suites

Documentation

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