]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replay r349333 by emaste accidentally reverted by r349352
authorimp <imp@FreeBSD.org>
Tue, 25 Jun 2019 06:13:56 +0000 (06:13 +0000)
committerimp <imp@FreeBSD.org>
Tue, 25 Jun 2019 06:13:56 +0000 (06:13 +0000)
commita1e8395e7bbad85edd950fdb22784fc17da00500
treed3e5c862acca67dbb20a34ec7838f85fbcbff20e
parent0ea6c510f82f43db625145219844d04fb47d0a9a
Replay r349333 by emaste accidentally reverted by r349352

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
usr.bin/vtfontcvt/vtfontcvt.c