CentOS 6.5
wget https://github.com/mudongliang/source-packages/raw/master/CVE-2004-0990/gd-2.0.28.tar.gz
tar -xvf gd-2.0.28.tar.gz
cd gd-2.0.28/
./configure --prefix="$PWD/install"
make
make install
gcc -o exploit 600.c -lz
./exploit
./gdtest britnay_spares_pr0n.png
GD Graphics Library - Local Heap Overflow
GD Graphics Library integer overflow leading to heap overflow