HomeFreeBSD

Catch malloc(3) errors and socket(2) errors

Description

Catch malloc(3) errors and socket(2) errors

  • malloc failing will result in a delayed segfault
  • socket failing will result in delayed failures with setsockopt

Exit in the event that either of these high-level conditions are met.

Reported by: Coverity
CID: 976288, 976321, 976858
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS300931: Make netif REQUIRE hostid
Branches
Unknown
Tags
Unknown