Chain: System call returns wrong value (CWE-393), leading to a resultant NULL dereference (CWE-476).
+ Potential Mitigations
Phase: Implementation
If all pointers that could have been modified are sanity-checked previous to use, nearly all NULL pointer dereferences can be prevented.