1diff --git a/third_party/zlib/deflate.c b/third_party/zlib/deflate.c 2index a39e62787862..c6053fd1c7ea 100644 3--- a/third_party/zlib/deflate.c 4+++ b/third_party/zlib/deflate.c 5@@ -318,6 +318,10 @@ int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, 6 s->w_size + window_padding, 7 2*sizeof(Byte)); 8 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); 9+ /* Avoid use of uninitialized value, see: 10+ * https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11360 11+ */ 12+ zmemzero(s->prev, s->w_size * sizeof(Pos)); 13 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 14 15 s->high_water = 0; /* nothing written to s->window yet */ 16