Searched refs:nstrips (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/ |
A D | libtiff-CVE-2017-11613.patch | 26 if( nstrips == 0 ) 32 + nstrips > 1000000 && 34 + stripbytes > (TIFFGetFileSize(tif) - offset) / (nstrips - 1)) ) 39 newcounts = (uint64*) _TIFFCheckMalloc(tif, nstrips, sizeof (uint64), 41 newoffsets = (uint64*) _TIFFCheckMalloc(tif, nstrips, sizeof (uint64),
|
A D | libtiff-CVE-2018-7456.patch | 65 @@ -167,6 +167,7 @@ static int TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, uint32 nstrips, uin
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/ |
A D | strip.c | 40 tstrip_t strip, nstrips; in write_strips() local 49 nstrips = TIFFNumberOfStrips(tif); in write_strips() 51 offset < size && strip < nstrips; in write_strips() 74 tstrip_t strip, nstrips; in read_strips() local 90 nstrips = TIFFNumberOfStrips(tif); in read_strips() 92 offset < size && strip < nstrips; in read_strips()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/ |
A D | tif_strip.c | 64 uint32 nstrips; in TIFFNumberOfStrips() local 66 nstrips = (td->td_rowsperstrip == (uint32) -1 ? 1 : in TIFFNumberOfStrips() 69 nstrips = _TIFFMultiply32(tif, nstrips, (uint32)td->td_samplesperpixel, in TIFFNumberOfStrips() 71 return (nstrips); in TIFFNumberOfStrips()
|
A D | tif_dirread.c | 5605 err=TIFFReadDirEntryLong8ArrayWithLimit(tif,dir,&data,nstrips); in TIFFFetchStripThing() 5612 if (dir->tdir_count<(uint64)nstrips) in TIFFFetchStripThing() 5623 ( nstrips <= max_nstrips ) ); in TIFFFetchStripThing() 5625 if( nstrips > max_nstrips ) in TIFFFetchStripThing() 5719 uint32 nstrips; in ChopUpSingleUncompressedStrip() local 5759 nstrips = TIFFhowmany_32(td->td_imagelength, rowsperstrip); in ChopUpSingleUncompressedStrip() 5760 if( nstrips == 0 ) in ChopUpSingleUncompressedStrip() 5766 nstrips > 1000000 && in ChopUpSingleUncompressedStrip() 5773 newcounts = (uint64*) _TIFFCheckMalloc(tif, nstrips, sizeof (uint64), in ChopUpSingleUncompressedStrip() 5792 for (strip = 0; strip < nstrips; strip++) { in ChopUpSingleUncompressedStrip() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/ |
A D | tif_pdsdirread.c | 958 TIFFFetchStripThing(TIFF* tif, TIFFDirEntry* dir, long nstrips, uint32** lpp) in TIFFFetchStripThing() argument 963 if (!CheckDirCount(tif, dir, (uint32) nstrips)) in TIFFFetchStripThing() 970 nstrips * sizeof (uint32), "for strip array")) == NULL) in TIFFFetchStripThing() 983 while (nstrips-- > 0) in TIFFFetchStripThing() 1066 tstrip_t strip, nstrips, rowsperstrip; in ChopUpSingleUncompressedStrip() local 1084 nstrips = (tstrip_t) TIFFhowmany(bytecount, stripbytes); in ChopUpSingleUncompressedStrip() 1085 newcounts = (uint32*) CheckMalloc(tif, nstrips * sizeof (uint32), in ChopUpSingleUncompressedStrip() 1087 newoffsets = (uint32*) CheckMalloc(tif, nstrips * sizeof (uint32), in ChopUpSingleUncompressedStrip() 1105 for (strip = 0; strip < nstrips; strip++) { in ChopUpSingleUncompressedStrip() 1116 td->td_stripsperimage = td->td_nstrips = nstrips; in ChopUpSingleUncompressedStrip()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
A D | tiffinfo.c | 415 tstrip_t nstrips = TIFFNumberOfStrips(tif); in TIFFReadRawData() local 420 if (stripbc != NULL && nstrips > 0) { in TIFFReadRawData() 425 for (s = 0; s < nstrips; s++) { in TIFFReadRawData()
|
A D | tiffcrop.c | 3686 uint32 strip, nstrips = TIFFNumberOfStrips(in); in readContigStripsIntoBuffer() local 3697 for (strip = 0; strip < nstrips; strip++) { in readContigStripsIntoBuffer() 4773 uint32 nstrips; in readSeparateStripsIntoBuffer() local 4824 nstrips = TIFFNumberOfStrips(in); in readSeparateStripsIntoBuffer() 4825 strips_per_sample = nstrips /spp; in readSeparateStripsIntoBuffer() 5829 uint32 nstrips = 0, ntiles = 0; in loadImage() local 6077 nstrips = TIFFNumberOfStrips(in); in loadImage() 6078 if (nstrips == 0 || stsize == 0) in loadImage() 6084 buffsize = stsize * nstrips; in loadImage() 6085 if (stsize != (buffsize / nstrips)) in loadImage() [all …]
|
Completed in 41 milliseconds