[ https://issues.apache.org/jira/browse/TIKA-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085965#comment-16085965 ]
Luis Filipe Nassif commented on TIKA-2428: ------------------------------------------ bq. If bytes skipped is more than requested, we've hit EOF. If bytes skipped == 0, we need to test with a read, according to guava Let me clarify my comment, I mean if 20,000 bytes are requested to be skiped in a file with 10,000, it can return more than 10,000 (reproduced by your test), but no more than 20,000. > EMFParser loops forever with corrupted files > -------------------------------------------- > > Key: TIKA-2428 > URL: https://issues.apache.org/jira/browse/TIKA-2428 > Project: Tika > Issue Type: Bug > Components: parser > Affects Versions: 1.15, 1.16 > Reporter: Luis Filipe Nassif > Attachments: Carved-1285676.emf, Carved-1296288.emf, Carved-912866.emf > > > EMFParser hangs with the attached corrupted EMF files. > Sorry [~talli...@apache.org]! Just now having time to test against our > forensic test corpus... -- This message was sent by Atlassian JIRA (v6.4.14#64029)