Code Correctness: null Argument to equals()

ASDR Table of Contents

Last revision (mm/dd/yy): //

Description
The expression obj.equals(null) should always be false.

The program uses the equals method to compare an object with null. The contract of the equals method requires this comparison to always return false[1].

Risk Factors
TBD

Examples
TBD

Related Attacks

 * Attack 1
 * Attack 2

Related Vulnerabilities

 * Vulnerability 1
 * Vulnerabiltiy 2

Related Controls

 * Control 1
 * Control 2

Related Technical Impacts

 * Technical Impact 1
 * Technical Impact 2