National Institute of Standards and Technology
Package illustrating a test case

Test case 104644

Description

CWE: 476 NULL Pointer Dereference
Sinks: deref_after_check
GoodSink: Do not dereference a pointer if it is NULL
BadSink : Dereference a pointer after checking to see if it is NULL
Flow Variant: 11 Control flow: if(globalReturnsTrue()) and if(globalReturnsFalse())

Flaws

Test Suites

Documentation

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