shithub: riscv

Download patch

ref: 7cdc13accc1735d6b047d3e99f69df023b221908
parent: 692e32caf40f8e8d03eb5fd7203d878d5bec71aa
author: cinap_lenrek <[email protected]>
date: Sun Mar 1 00:33:41 EST 2015

6c: fix missing memset in Bconv()

--- a/sys/src/cmd/6c/list.c
+++ b/sys/src/cmd/6c/list.c
@@ -20,6 +20,7 @@
 	Bits bits;
 	int i;
 
+	memset(str, 0, sizeof str);
 	bits = va_arg(fp->args, Bits);
 	while(bany(&bits)) {
 		i = bnum(bits);