National Institute of Standards and Technology
Package illustrating a test case

Test case 82079

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

Flaws

Test Suites

Documentation

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