]> source.dussan.org Git - poi.git/commit
Handle empty files correctly when looking for FileMagic to avoid NegativeArraySizeExc...
authorDominik Stadler <centic@apache.org>
Mon, 27 Jan 2020 22:54:15 +0000 (22:54 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 27 Jan 2020 22:54:15 +0000 (22:54 +0000)
commit366c80c480cef79b89d92bc4a96a7b820bc084e1
tree51357f2084c13d82ff0d14b160582d2cf2df1157
parent31eb7f9b06f41e0fe9032ccb772c6e91655a4af5
Handle empty files correctly when looking for FileMagic to avoid NegativeArraySizeException

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873232 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/poifs/filesystem/FileMagic.java
src/testcases/org/apache/poi/poifs/filesystem/TestFileMagic.java