HomeFreeBSD

vtfontcvt: improve .bdf validation

Description

vtfontcvt: improve .bdf validation

Previously if we had a FONTBOUNDINGBOX or DWIDTH entry that had missing
or invalid values and and failed sscanf, we would proceeded with
partially initialized bounding box / device width variables.

Reported by: afl (FONTBOUNDINGBOX)
MFC with: r349100
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS349332: fusefs: improve the short read fix from r349279
Branches
Unknown
Tags
Unknown