HomeFreeBSD

Validate the string size parameter passed to -s.

Description

Validate the string size parameter passed to -s.

Use strtonum() to reject negative sizes instead of core dumping.

PR: 232206
Submitted by: David Carlier <devnexen@gmail.com>
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D17537

Details

Provenance
jhbAuthored on
Differential Revision
Restricted Differential Revision
Parents
rS341801: Remove stray hints files.
Branches
Unknown
Tags
Unknown