Commit d611e8de for xz

commit d611e8de3b75fb59c079dd2fc24238a8a696de1d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Mon Nov 23 18:02:48 2026 +0200

    liblzma: Remove an unneeded memzero()

    This was in the original version (first commit below) but it didn't have
    the intended effect. It wasn't removed when the proper fix (second commit
    below) was added.

    Fixes: 5db75054e900 ("liblzma: Use lzma_memcmplen() in the match finders.")
    Fixes: fec88d41e672 ("liblzma: Silence harmless Valgrind errors.")

diff --git a/src/liblzma/lz/lz_encoder.c b/src/liblzma/lz/lz_encoder.c
index e5c4057d..aaa1466c 100644
--- a/src/liblzma/lz/lz_encoder.c
+++ b/src/liblzma/lz/lz_encoder.c
@@ -381,11 +381,6 @@ lz_encoder_init(lzma_mf *mf, const lzma_allocator *allocator,
 				allocator);
 		if (mf->buffer == NULL)
 			return true;
-
-		// Keep Valgrind happy with lzma_memcmplen() and initialize
-		// the extra bytes whose value may get read but which will
-		// effectively get ignored.
-		memzero(mf->buffer + mf->size, LZMA_MEMCMPLEN_EXTRA);
 	}

 	// Use cyclic_size as initial mf->offset. This allows