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

(-)file_not_specified_in_diff (-4 / +4 lines)
Line  Link Here
0
-- imagemagick-6.0.6.2.orig/magick/attribute.c
0
++ imagemagick-6.0.6.2/magick/attribute.c
Lines 955-965 Link Here
955
        }
955
        }
956
        if ((t == TAG_EXIF_OFFSET) || (t == TAG_INTEROP_OFFSET))
956
        if ((t == TAG_EXIF_OFFSET) || (t == TAG_INTEROP_OFFSET))
957
          {
957
          {
958
            long
958
            size_t
959
              offset;
959
              offset;
960
960
961
            offset=(long) ReadUint32(msb_order,pval);
961
            offset=(size_t) ReadUint32(msb_order,pval);
962
            if ((offset < (long) length) || (level < (DE_STACK_SIZE-2)))
962
            if ((offset < length) && (level < (DE_STACK_SIZE-2)))
963
              {
963
              {
964
                /*
964
                /*
965
                  Push our current directory state onto the stack.
965
                  Push our current directory state onto the stack.

Return to bug 5905