View | Details | Raw Unified | Return to bug 62745
Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +4 lines)
Line  Link Here
0
-- imagemagick-6.0.2.5.orig/magick/attribute.c
0
++ imagemagick-6.0.2.5/magick/attribute.c
Lines 940-950 Link Here
940
        }
940
        }
941
        if ((t == TAG_EXIF_OFFSET) || (t == TAG_INTEROP_OFFSET))
941
        if ((t == TAG_EXIF_OFFSET) || (t == TAG_INTEROP_OFFSET))
942
          {
942
          {
943
            long
943
            size_t
944
              offset;
944
              offset;
945
945
946
            offset=(long) ReadUint32(msb_order,pval);
946
            offset=(size_t) ReadUint32(msb_order,pval);
947
            if ((offset < (long) length) || (level < (DE_STACK_SIZE-2)))
947
            if ((offset < length) && (level < (DE_STACK_SIZE-2)))
948
              {
948
              {
949
                /*
949
                /*
950
                  Push our current directory state onto the stack.
950
                  Push our current directory state onto the stack.

Return to bug 62745