You can test your system against GHOST: glibc gethostbyname buffer overflow CVE-2015-0235.
wget http://www.cirgan.net/GHOST.c
or compiled one
wget http://www.cirgan.net/GHOST
root@testme /home # gcc GHOST.c -o GHOST
root@testme /home # ./GHOST
not vulnerable