commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damjan Jovanovic (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SANSELAN-35) IPTCParser fails after encountering record number 1
Date Mon, 26 Dec 2011 07:20:30 GMT

     [ https://issues.apache.org/jira/browse/SANSELAN-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damjan Jovanovic resolved SANSELAN-35.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Thank you for your contribution!

Patch applied in revision 1224687, resolving fixed.

                
> IPTCParser fails after encountering record number 1
> ---------------------------------------------------
>
>                 Key: SANSELAN-35
>                 URL: https://issues.apache.org/jira/browse/SANSELAN-35
>             Project: Commons Sanselan
>          Issue Type: Bug
>            Reporter: Alex Vigdor
>            Priority: Minor
>             Fix For: 1.0
>
>         Attachments: 2010-01-04T052300Z_01_BTRE6021PS000_RTROPTP_3_BUSINESS-US-TSE.JPG,
SANSELAN-35.patch
>
>
> IPTCParser fails to find valid metadata in a JPEG after it encounters a record number
1 (it only extracts metadata from records numbered 2).  A little debugging showed that this
is because it was not properly moving the buffer pointer to the end of the record to pick
up subsequent valid records - moving the record number check after the pointer update fixes
the problem.  I will attach a patch and sample image.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message