Skip to content

Commit

Permalink
Internal libtiff: refresh with CVS
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/gdal/trunk@35124 f0d54148-0727-0410-94bb-9a71ac55c965
  • Loading branch information
rouault committed Aug 15, 2016
1 parent ecf36f6 commit fdb52dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdal/frmts/gtiff/libtiff/tif_pixarlog.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: tif_pixarlog.c,v 1.46 2016-08-15 20:49:48 erouault Exp $ */
/* $Id: tif_pixarlog.c,v 1.47 2016-08-15 21:36:43 erouault Exp $ */

/*
* Copyright (c) 1996-1997 Sam Leffler
Expand Down Expand Up @@ -1142,7 +1142,7 @@ PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)

llen = sp->stride * td->td_imagewidth;
/* Check against the number of elements (of size uint16) of sp->tbuf */
if( n > td->td_rowsperstrip * llen )
if( n > (tmsize_t)(td->td_rowsperstrip * llen) )
{
TIFFErrorExt(tif->tif_clientdata, module,
"Too many input bytes provided");
Expand Down

0 comments on commit fdb52dc

Please sign in to comment.