You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2020/04/06 16:28:09 UTC

[tika] branch master updated (9339e1c -> f0ae10b)

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git.


    from 9339e1c  Merge remote-tracking branch 'origin/TIKA-3083'
     new 6ca83a4  improve ICNSParser
     new 440be68  fix one note parser entry
     new f0ae10b  prevent oss-index from failing the build -- turn on at release time!

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tika-parent/pom.xml                                                    | 3 +++
 .../src/main/java/org/apache/tika/parser/image/ICNSParser.java         | 3 +++
 .../src/main/resources/META-INF/services/org.apache.tika.parser.Parser | 1 -
 3 files changed, 6 insertions(+), 1 deletion(-)


[tika] 01/03: improve ICNSParser

Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 6ca83a4d3d068752d841658ac4c20caa77538d60
Author: tallison <ta...@apache.org>
AuthorDate: Mon Apr 6 12:09:52 2020 -0400

    improve ICNSParser
---
 .../src/main/java/org/apache/tika/parser/image/ICNSParser.java         | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/image/ICNSParser.java b/tika-parsers/src/main/java/org/apache/tika/parser/image/ICNSParser.java
index f13d46d..47d89ab 100644
--- a/tika-parsers/src/main/java/org/apache/tika/parser/image/ICNSParser.java
+++ b/tika-parsers/src/main/java/org/apache/tika/parser/image/ICNSParser.java
@@ -92,6 +92,9 @@ public class ICNSParser extends AbstractParser {
             tempByteArray[2] = full_file[offset + 6];
             tempByteArray[3] = full_file[offset + 7];
             int icon_length = java.nio.ByteBuffer.wrap(tempByteArray).getInt();
+            if (icon_length <= 0) {
+                break;
+            }
             offset = offset + icon_length;
         }
         String icon_details = "", iconmask_details = "", bitsPerPixel,dimensions;


[tika] 02/03: fix one note parser entry

Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 440be689f1744ce2c5d02d47cad8dc253d96f085
Author: tallison <ta...@apache.org>
AuthorDate: Mon Apr 6 12:10:57 2020 -0400

    fix one note parser entry
---
 .../src/main/resources/META-INF/services/org.apache.tika.parser.Parser   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tika-parsers/src/main/resources/META-INF/services/org.apache.tika.parser.Parser b/tika-parsers/src/main/resources/META-INF/services/org.apache.tika.parser.Parser
index ac421eb..79d5f5d 100644
--- a/tika-parsers/src/main/resources/META-INF/services/org.apache.tika.parser.Parser
+++ b/tika-parsers/src/main/resources/META-INF/services/org.apache.tika.parser.Parser
@@ -39,7 +39,6 @@ org.apache.tika.parser.iwork.IWorkPackageParser
 org.apache.tika.parser.jpeg.JpegParser
 org.apache.tika.parser.mail.RFC822Parser
 org.apache.tika.parser.mbox.MboxParser
-org.apache.tika.parser.onenote.OneNoteParser
 org.apache.tika.parser.mbox.OutlookPSTParser
 org.apache.tika.parser.microsoft.EMFParser
 org.apache.tika.parser.microsoft.WMFParser


[tika] 03/03: prevent oss-index from failing the build -- turn on at release time!

Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git

commit f0ae10b072d7d486fed227088d82a3fd4a8d4f1f
Author: tallison <ta...@apache.org>
AuthorDate: Mon Apr 6 12:27:46 2020 -0400

    prevent oss-index from failing the build -- turn on at release time!
---
 tika-parent/pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index eb21f99..000d62d 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -380,6 +380,9 @@
         <groupId>org.sonatype.ossindex.maven</groupId>
         <artifactId>ossindex-maven-plugin</artifactId>
         <version>3.1.0</version>
+        <configuration>
+          <fail>false</fail>
+        </configuration>
         <executions>
           <execution>
             <id>audit-dependencies</id>