libtiff: tif_zip.c: silence Coverity Scan false positive warnings about out-of-bounds access (CID 1491190, 1491197, 1491201)

From c5c9864714f54ee61bbff7d00b90fa6af509afbd Mon Sep 17 00:00:00 2001
From: Even Rouault <[EMAIL REDACTED]>
Date: Tue, 16 Aug 2022 10:43:47 +0200
Subject: [PATCH] tif_zip.c: silence Coverity Scan false positive warnings
 about out-of-bounds access (CID 1491190, 1491197, 1491201)

---
 libtiff/tif_zip.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libtiff/tif_zip.c b/libtiff/tif_zip.c
index be35e49b..f5caf0ff 100644
--- a/libtiff/tif_zip.c
+++ b/libtiff/tif_zip.c
@@ -242,6 +242,7 @@ ZIPDecode(TIFF* tif, uint8_t* op, tmsize_t occ, uint16_t s)
                 uInt avail_out_before = (uint64_t)occ < 0xFFFFFFFFU ? (uInt) occ : 0xFFFFFFFFU;
                 sp->stream.avail_in = avail_in_before;
                 sp->stream.avail_out = avail_out_before;
+		/* coverity[overrun-buffer-arg] */
 		state = inflate(&sp->stream, Z_PARTIAL_FLUSH);
 		tif->tif_rawcc -= (avail_in_before - sp->stream.avail_in);
                 occ -= (avail_out_before - sp->stream.avail_out);
@@ -432,6 +433,7 @@ ZIPEncode(TIFF* tif, uint8_t* bp, tmsize_t cc, uint16_t s)
 	do {
                 uInt avail_in_before = (uint64_t)cc <= 0xFFFFFFFFU ? (uInt)cc : 0xFFFFFFFFU;
                 sp->stream.avail_in = avail_in_before;
+		/* coverity[overrun-buffer-arg] */
 		if (deflate(&sp->stream, Z_NO_FLUSH) != Z_OK) {
 			TIFFErrorExt(tif->tif_clientdata, module, 
 				     "Encoder error: %s",