]> source.dussan.org Git - poi.git/commit
FileMagic now has patterns with up to 12 bytes (JPG)
authorDominik Stadler <centic@apache.org>
Mon, 20 May 2019 14:42:31 +0000 (14:42 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 20 May 2019 14:42:31 +0000 (14:42 +0000)
commitb2130769b6bf36698afbbda6232fb2d9c7e6d806
tree3565523ab00e08fcf3dbd7440514e8b0f9a1053f
parentf4a3d3bb899fecaa0303a29d30e9552300bc32cb
FileMagic now has patterns with up to 12 bytes (JPG)
Avoid exception if a very short file is encountered
Add more tests

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