HomeFreeBSD

Don't kill pid -1 on overflow from strtol(3).

Description

Don't kill pid -1 on overflow from strtol(3).

Store the result in a proper long and then compare to the proper pid_t
for overflow, so that no MD assumptions are made.

Reviewed by: jilles
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D9887

Details

Provenance
bdreweryAuthored on
Reviewer
jilles
Differential Revision
D9887: Don't kill pid -1 on overflow from strtol(3).
Parents
rS314713: MFC r314572:
Branches
Unknown
Tags
Unknown