Blob Blame History Raw
--- xen-4.17.0/xen/common/bunzip2.c.orig	2022-12-08 18:03:08.000000000 +0000
+++ xen-4.17.0/xen/common/bunzip2.c	2023-01-17 21:35:39.251292015 +0000
@@ -223,6 +223,7 @@
 	for (j = 0; j < groupCount; j++) {
 		unsigned char length[MAX_SYMBOLS], temp[MAX_HUFCODE_BITS+1];
 		int	minLen,	maxLen, pp;
+		length[0]=0;
 		/* Read Huffman code lengths for each symbol.  They're
 		   stored in a way similar to mtf; record a starting
 		   value for the first symbol, and an offset from the