HomeFreeBSD

vtfontcvt: improve hex font format validation

Description

vtfontcvt: improve hex font format validation

Previously an EOF would result in sscanf returning -1 leading to a
crash.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on Jul 19 2022, 3:20 PM
Parents
rGf4b00609ec08: backlight(8): Update usage() to match the manual page
Branches
Unknown
Tags
Unknown