On 2013-12-22, sebb wrote:

> On 22 December 2013 07:45, Stefan Bodewig <bode...@apache.org> wrote:

>> <http://vmgump.apache.org/gump/public/tika/tika-parsers-test/gump_file/org.apache.tika.parser.pkg.ZipParserTest.txt.html>

>> Of course it is possible the archive isn't real and they used a
>> hex-editor to have an unparseable archive - but it may also be a sign we
>> have a bug in our code.

> Seems to me that the code should still not fail with exceptions such
> as IOOB (or NPE etc) no matter what is thrown at it.
> It should really detect the malformation and report it with a more
> suitable exception.

Yes, that's true.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to