<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7082</bug_id>
          
          <creation_ts>2009-07-06 09:24:53 +0000</creation_ts>
          <short_desc>Invalid metadata in GIF images may crash the Checker</short_desc>
          <delta_ts>2009-08-03 15:34:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25871</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-07-06 09:24:53 +0000</bug_when>
    <thetext>A GIF image that contains invalid metadata will trigger an uncaught:
 javax.imageio.IIOException: I/O error reading image metadata!

... in GifImageContent.checkTransparency.

See GIF image attached for an example of an image that, when embedded in an HTML page makes the Checker crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26153</commentid>
    <comment_count>1</comment_count>
      <attachid>735</attachid>
    <who name="fd">fd</who>
    <bug_when>2009-07-31 12:18:38 +0000</bug_when>
    <thetext>Created attachment 735
GIF image with invalid metadata</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26198</commentid>
    <comment_count>2</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-08-03 15:34:22 +0000</bug_when>
    <thetext>Update GifImageContent.checkTransparency not to throw an exception.
Note the error is not fully ignored because the image validation should report an error in that case in the constructor.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>735</attachid>
            <date>2009-07-31 12:18:38 +0000</date>
            <delta_ts>2009-07-31 12:18:38 +0000</delta_ts>
            <desc>GIF image with invalid metadata</desc>
            <filename>pdf.gif</filename>
            <type>image/gif</type>
            <size>180</size>
            <attacher name="fd">fd</attacher>
            
              <data encoding="base64">R0lGODdhFQAVAKIAAP///3NzczH+AN7e3u/v794AAO4AAAAAACH/CkFkb2JlICAAAAAAIfkEAQAA
AgAsAAAAABUAFQAAA2soutz+MJ5J64niDLI7nxInegdwOZY1VChguqU5HkGTVmRtj3xHo55Cj/Db
bYRCz0rH0HAKAyiv2BxJO4MlUFS4iqiLA/fZTYIVzmi0eyQyw4Tytft5o4WG4eacoStndhk3KYEC
AYeIiYkLCQA7
</data>

          </attachment>
      

    </bug>

</bugzilla>