Why 8? Should this be `char buf[sizeof(something)]`?