--- sh.dol.c +++ sh.dol.c 2007-07-13 10:39:27.390018042 +0000 @@ -421,6 +421,8 @@ Dgetdol(void) size_t cbp = 0; int old_pintr_disabled; + memset(&cbuf[0], 0, sizeof(cbuf)); + for (;;) { int len; ssize_t res;