Hi Niels, I’ll fix that in libgd2, it also causes problem in PHP.
Ondřej -- Ondřej Surý <ond...@sury.org> > On 3 May 2020, at 16:55, Niels Thykier <ni...@thykier.net> wrote: > > Ondřej Surý: >> Hi Lucas, >> >> this: https://github.com/libgd/libgd/issues/615 ? >> >> [...] >> > > Hi Ondřej, > > Thanks for the link. It indeed looks related and if I special case > 0-sized strings in mscgen, the error goes away (see attached patch). > > Should I apply this patch to mscgen, or should this be fixed in libgd2? > > ~Niels > > <bug-959591-libgd2.diff>