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 Mar 5 2017, 9:56 PM
Parents
rG51c6e78d91a7: Fix bootstrapping mtree after r313404 for older systems.
Branches
Unknown
Tags
Unknown

Event Timeline