[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#602566: [tex-k] dvi2ps segfault based on bug in libkpathsea



On Tue, 9 Nov 2010, Norbert Preining wrote:

In the bug report there is also a backtrace of the segfault and
two patches by Mathias Kende, quoting his email:
The first patch duplicates some code in tex-file.c (approx. 15 lines),
but is smaller and simpler. The second creates a helper function which
reads properly a "va_list" list of arguments. Choose your preferred one.

I attach the two patches, both apply (with some fuzzyness) to current
sources in TeX Live.

Hi Karl, Norbert,

I'd definitely vote for the second alternative, i.e., both
kpathsea_set_suffixes and kpse_set_suffixes (with varargs) using one and the
same static helper functions (with one va_list argument).

Regards
Peter Breitenlohner <peb@mppmu.mpg.de>



Reply to: