HomeFreeBSD

Fix up NULL/'\0' uses and fix 2 derefs after NULL

Description

Fix up NULL/'\0' uses and fix 2 derefs after NULL

MFC after: 2 weeks
Reported by: Coverity
CID: 1018898, 1018899
Differential Revision: https://reviews.freebsd.org/D6142
Sponsored by: Dell EMC Isilon

Details

Provenance
ngieAuthored on
Parents
rS314188: Cast values to (int) before comparing them to the range of the
Branches
Unknown
Tags
Unknown