3 ms·
If I'm reading this comment https://news.ycombinator.com/item?id=10567353 https://news.ycombinator.com/item?id=10567353 and this code https://github.com/libgd/l
by kalleboo 11y ago
If I'm reading this comment https://news.ycombinator.com/item?id=10567353 https://news.ycombinator.com/item?id=10567353 and this code https://github.com/libgd/libgd/blob/4751b606fa38edc456d627140898a7ec679fcc24/src/gd_png.c https://github.com/libgd/libgd/blob/4751b606fa38edc456d62714... correctly, then it looks like GD isn't vulnerable since it uses num_palette to size the palette rather than info_ptr->palette or bit_depth