Tuesday, April 28, 2009

iozone: buffer overflow in ubuntu jaunty

In the latest Ubuntu Jaunty iozone immediately crashes with a nice *** buffer overflow detected *** message, that means it is practically unusable. Fortunately the cause of the bug is very simple: a wrong length used to copy a string by gethostname(). I posted a fix here.