[pdftex] pdftex core dump when including certain pdf files

KAKUTO, Akira kakuto at fuk.kindai.ac.jp
Fri Jul 15 23:53:26 CEST 2016


Hi Norbert,

> Hmm, but
>         fd_entry *epdf_create_fontdescriptor(fm_entry * fm, int stemV)
> expects and int, and is then transfered into
>         fd->font_dim[STEMV_CODE].val = stemV;
> the font dim, all of which are integers.

Change of struct fd_entry_ may be dangerous.
So I think a relatively safe fix for poppler is
fd = epdf_create_fontdescriptor(fontmap, (int)stemV->getNum());
if non-integer stemV is allowed.

Best,
Akira


More information about the pdftex mailing list