@ -3164,6 +3164,10 @@ var Font = (function FontClosure() {
coordinatesLength += repeat * xyLength;
}
// glyph without coordinates will be rejected
if (coordinatesLength === 0) {
return 0;
var glyphDataLength = j + coordinatesLength;
if (glyphDataLength > glyf.length) {
// not enough data for coordinates
@ -21,6 +21,7 @@
!devicen.pdf
!cmykjpeg.pdf
!issue840.pdf
!issue3438.pdf
!issue2074.pdf
!scan-bad.pdf
!pdfjsbad1586.pdf
@ -1288,6 +1288,12 @@
"rounds": 1,
"type": "eq"
},
{ "id": "issue3438",
"file": "pdfs/issue3438.pdf",
"md5": "5aa3340b0920b65a377f697587668f89",
{ "id": "bug886717",
"file": "pdfs/bug886717.pdf",
"md5": "8ba614192797a1324765610231a1bc9d",