[pdftex] pdftex core dump when including certain pdf files

Norbert Preining preining at logic.at
Fri Jul 15 09:56:05 CEST 2016


Hi Akira,

On Fri, 15 Jul 2016, KAKUTO, Akira wrote:
> If we remove
> OBJECT_TYPE_CHECK(objInt);
> in getInt(), as in xpdf, the crash disappears.

Hmmm, not good ...

> -        fd = epdf_create_fontdescriptor(fontmap, stemV->getInt());
> +        fd = epdf_create_fontdescriptor(fontmap, stemV->getNum());

This is the correct fix! if stemV might be a non-integer, this
is the correct one!

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13    fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13


More information about the pdftex mailing list