[tex-live] pdftex segfault with \pdflastmatch

Norbert Preining preining at logic.at
Mon Jun 6 17:34:16 CEST 2016


Hi

> This plain tex document demonstrates \pdflastmatch failing if used after
> a \pdfmatch that returned no matches.

I confirm that the same happens on x86_64-linux.

> The crash disappears if I apply an attached utils.c.diff.
> But I don't know that the patch is right or not.

I also confirm that the crash disappears, but for the mentioned
document:
	\pdfmatch{a}{b}
	\pdflastmatch0
	\bye
I get a strange output of
	0 -1-<inverted question mark>

Not sure if this is supposed to be.

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 tex-live mailing list