You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (JIRA)" <ji...@apache.org> on 2010/08/02 17:57:17 UTC

[jira] Commented: (TIKA-424) Avoid ArrayIndexOutOfBoundsException on some mp3 files

    [ https://issues.apache.org/jira/browse/TIKA-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894577#action_12894577 ] 

Nick Burch commented on TIKA-424:
---------------------------------

Your file has broken ID3v2.4 tags in it. It looks to me like the lengths are recorded in bytes, not bytes/4 as v2.4 requires. Most id3 tools I've tried silently fail, and claim there are no tags

I've fixed Tika in r981573, and it'll now not break, even if the tags are likely to be largely gibberish since they're corrupted.

> Avoid ArrayIndexOutOfBoundsException on some mp3 files
> ------------------------------------------------------
>
>                 Key: TIKA-424
>                 URL: https://issues.apache.org/jira/browse/TIKA-424
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 0.7
>            Reporter: Nick Burch
>            Assignee: Jukka Zitting
>             Fix For: 0.8
>
>         Attachments: mp3-fix.patch, test2.mp3
>
>
> There can currently be an ArrayIndexOutOfBoundsException if the tag of an mp3 is empty but null padded (see TIKA-418 for someone reporting one against the wrong bug...)
> Attached patch correctly detects this condition and returns an empty string.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.