SHA256
1
0
forked from pool/tcsh
tcsh/tcsh-6.15.00-pipe.dif

16 lines
303 B
Plaintext
Raw Normal View History

---
sh.dol.c | 2 ++
1 file changed, 2 insertions(+)
--- sh.dol.c
+++ sh.dol.c 2016-11-25 08:00:30.455106978 +0000
@@ -462,6 +462,8 @@ Dgetdol(void)
size_t cbp = 0;
int old_pintr_disabled;
+ memset(&cbuf[0], 0, sizeof(cbuf));
+
for (;;) {
int len;
ssize_t res;