1diff --git a/third_party/libtiff/tif_dirread.c b/third_party/libtiff/tif_dirread.c
2index 5ef3264..bc41021 100644
3--- a/third_party/libtiff/tif_dirread.c
4+++ b/third_party/libtiff/tif_dirread.c
5@@ -4443,7 +4443,7 @@ TIFFFetchDirectory(TIFF* tif, uint64 diroff, TIFFDirEntry** pdir,
6 	static const char module[] = "TIFFFetchDirectory";
7
8 	void* origdir;
9-	uint16 dircount16;
10+	uint16 dircount16 = 0;
11 	uint32 dirsize;
12 	TIFFDirEntry* dir;
13 	uint8* ma;
14