~ubuntu-branches/ubuntu/saucy/tiff/saucy-security

« back to all changes in this revision

Viewing changes to tools/tiffdump.c

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2012-06-24 13:45:42 UTC
  • mfrom: (1.1.8)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20120624134542-2xxi2i0ytrcddfdx
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: tiffdump.c,v 1.25 2011-04-02 20:54:09 bfriesen Exp $ */
 
1
/* $Id: tiffdump.c,v 1.26 2012-06-15 21:51:54 fwarmerdam Exp $ */
2
2
 
3
3
/*
4
4
 * Copyright (c) 1988-1997 Sam Leffler
266
266
        uint16 dircount;
267
267
        uint32 direntrysize;
268
268
        void* dirmem = NULL;
269
 
        uint64 nextdiroff;
 
269
        uint64 nextdiroff = 0;
270
270
        uint32 n;
271
271
        uint8* dp;
272
272
 
289
289
                        TIFFSwabShort(&dircount);
290
290
                direntrysize = 12;
291
291
        } else {
292
 
                uint64 dircount64;
 
292
                uint64 dircount64 = 0;
293
293
                if (read(fd, (char*) &dircount64, sizeof (uint64)) != sizeof (uint64)) {
294
294
                        ReadError("directory count");
295
295
                        goto done;