commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [compress] Tika test error with IMPLODEd zip
Date Sun, 22 Dec 2013 11:18:21 GMT
On 2013-12-22, sebb wrote:

> On 22 December 2013 07:45, Stefan Bodewig <bodewig@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message