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

(cherry picked from commit 119db52f4228fae161306ac29dc739638c132c26)

Details

Provenance
emasteAuthored on Jul 19 2022, 3:20 PM
Parents
rGe7198df48408: tmpfs.5: Fix typos and linter warnings
Branches
Unknown
Tags
Unknown