HomeFreeBSD

sh: Avoid overflow in atoi() when parsing HISTSIZE.

Description

sh: Avoid overflow in atoi() when parsing HISTSIZE.

Side effect: a non-numeric HISTSIZE now results in the default size (100)
instead of 0.

Details

Provenance
jillesAuthored on
Parents
rS270112: MFC: r269788
Branches
Unknown
Tags
Unknown

Event Timeline