View | Details | Raw Unified
Collapse All | Expand All

(-) tiff-3.7.1/tools/tiffdump.c.orig (+5 lines)
 Lines 307-312   ReadDirectory(int fd, unsigned ix, off_t Link Here 
			continue;
			continue;
		}
		}
		space = dp->tdir_count * datawidth[dp->tdir_type];
		space = dp->tdir_count * datawidth[dp->tdir_type];
		if (space <= 0) {
			printf(">\n");
			Error("Invalid count for tag %u", dp->tdir_tag);
			continue;
		}
		if (space <= 4) {
		if (space <= 4) {
			switch (dp->tdir_type) {
			switch (dp->tdir_type) {
			case TIFF_FLOAT:
			case TIFF_FLOAT: