freetype icon indicating copy to clipboard operation
freetype copied to clipboard

Added range checks to cmap parsing

Open flopp opened this issue 9 years ago • 1 comments

Added range checks to func (f *Font) parseCmap() to fix the invalid array accesses caused by the ttf file ttf.crashers/9dcbc20080df0e49e3dd90c022eba03aa575c4b6 of #17.

N.B.: I have signed Google's CLA

flopp avatar Feb 19 '16 17:02 flopp

Sorry for the late reply. I'm not sure how this slipped off my radar.

nigeltao avatar Apr 15 '16 07:04 nigeltao