Menu

#40 TIFF module throws NullPointerException for some invalid fil

None
closed-fixed
Modules (29)
5
2012-12-30
2012-11-16
Gary McGath
No

If there are certain inconsistencies in a TIFF file, such as having strip offsets but no strip byte counts, or tile offsets but no tile byte counts, the TIFF module attempts to report the error but then keeps going and throws a NullPointerException. This is a bug in JHOVE 1.8. I have the fix for it and will upload it.

Discussion

  • Gary McGath

    Gary McGath - 2012-11-18

    The fix is now uploaded in the source code.

     
  • Gary McGath

    Gary McGath - 2012-11-18
    • status: open --> pending
     
  • Gary McGath

    Gary McGath - 2012-12-07
    • status: pending --> pending-fixed
    • milestone: -->
     
  • Gary McGath

    Gary McGath - 2012-12-07

    Versions 1.9b1 and b2 fix this. Will close with 1.9 final.

     
  • Gary McGath

    Gary McGath - 2012-12-30
    • status: pending-fixed --> closed-fixed
     
  • Gary McGath

    Gary McGath - 2012-12-30

    Fixed in 1.9.

     

Log in to post a comment.