Zero out cbuf to stop complaints from valgrind