Re: [dev] [st] Use after free in font cache

2017-08-28 Thread Laslo Hunhold
On Sun, 27 Aug 2017 21:58:39 -0300 dequis wrote: Hey dequis, > Hi, got some crashes. Looks like st is calling XftFontClose in the > last member of the font cache array when it runs out of space in it, > but that xft font is still used somewhere else. maybe this is the issue that we get so many

[dev] [st] Use after free in font cache

2017-08-27 Thread dequis
Hi, got some crashes. Looks like st is calling XftFontClose in the last member of the font cache array when it runs out of space in it, but that xft font is still used somewhere else. To reproduce: 1. Make the font cache array smaller, in x.c "static Fontcache frc[1];" 2. wget https://www.cl.cam.