Name: Anonymous 2009-03-15 16:50
Is there something like valgrind that can make certain calls to malloc (also system calls could be interesting) fail? My poor error paths never get tested.
rand use the same algorithm as they did decades ago for backward compatibility reasons, including glibc. There's a reason people tell you to use /dev/urandom instead.