[tex-live] command line tools crash / buffer overflow with many parameters (mfplain/mpost)

Enrico Gregorio enrico.gregorio at gmail.com
Sun Jan 20 00:03:54 CET 2019


> On 19 Jan 2019, at 23:37 , Karl Berry <karl at freefriends.org> wrote:
> 
> Hi Hanno and all,
> 
>    mfplain $(seq 1 2000)
>    mpost $(seq 1 2000)
> 
> Thanks for the report. Indeed, on x86_64-linux I get:
> *** Error in `mpost': realloc(): invalid next size: 0x0000000002744fb0 ***
> I'm sure Luigi will fix soon.
> 
>    eg> The same with mf.

I meant `mfplain`, sorry.

> 
> Hmm, can't reproduce this with the x86_64-linux binaries currently in TL.
> All of your (Enrico's) command lines work for me with mpost and mf, that
> is, "can't find file `1'":
> 
> mf $(seq -w 1 69) 12
> mpost $(seq -w 1 69) 12
> 
> And  mf $(seq 1 2000)  does not fail either (or 20000, or whatever).
> Let me know what I'm missing ... --thanks, karl.

I’m on Mac OS X, with MacTeX, I just confirmed Hanno’s results.

Ciao
Enrico


More information about the tex-live mailing list