HomeFreeBSD

MFstable/10 r301655:

Description

MFstable/10 r301655:

MFC r299766:

Fix logically dead code pointed out by clang/Coverity

parse_context, parse_user_security: test for validity of results from
parse_ascii(..) with by casting to int32_t and comparing to -1; comparing
unsigned types to negative values will always be false.

CID: 1011432, 1011433

Details

Provenance
ngieAuthored on
Parents
rS301689: one-true-awk: Avoid a NULL dereference.
Branches
Unknown
Tags
Unknown