clear sorted flag if we move a strip/tile - bug 1359

This commit is contained in:
Frank Warmerdam 2006-11-20 02:11:39 +00:00
parent d218770ca5
commit 92c680cdf1
2 changed files with 65 additions and 58 deletions

View File

@ -1,3 +1,9 @@
2006-11-19 Frank Warmerdam <warmerdam@pobox.com>
* libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
we move a strip.
http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
2006-10-13 Andrey Kiselev <dron@ak4719.spb.edu>
* libtiff/tif_dir.c: More fixes for vulnerabilities, reported

View File

@ -1,4 +1,4 @@
/* $Id: tif_write.c,v 1.21 2006-02-27 14:29:20 dron Exp $ */
/* $Id: tif_write.c,v 1.22 2006-11-20 02:11:41 fwarmerdam Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@ -648,6 +648,7 @@ TIFFAppendToStrip(TIFF* tif, tstrip_t strip, tidata_t data, tsize_t cc)
td->td_stripoffset[strip] =
TIFFSeekFile(tif, (toff_t)0,
SEEK_END);
td->td_stripbytecountsorted = 0;
}
} else {
tstrip_t i;