There is a small bug, which is that dbuf_c_str()
calls dbuf_expand() for no aparent reason. The
problem is that it checks the part of an uninitialized
buffer, which has a random value. The bug is harmless,
but nevertheless it is a bug. The solution is to
initialize the buffer with zeros.