You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2021/04/26 22:34:29 UTC

[commons-imaging] branch master updated (cf6d30e -> f5287e7)

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

kinow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git.


    from cf6d30e  Merge branch 'pr-139'
     add 20ca4b1  [IMAGING-298] Throw ImageReadException if the PNG parser is given an image with invalid ICC Profile
     add 21af3a8  [IMAGING-298] Changelog
     new 430a088  [IMAGING-298] Apply suggestion of @arturobernalg to use lamnda expression
     new f5287e7  Merge branch 'IMAGING-298'

The 2 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:
 src/changes/changes.xml                             |   3 +++
 .../commons/imaging/formats/png/PngImageParser.java |   6 +++++-
 .../commons/imaging/formats/png/PngReadTest.java    |  20 ++++++++++++++++++++
 ...case-minimized-ImagingPngFuzzer-6177282101215232 | Bin 0 -> 96 bytes
 4 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 src/test/resources/images/png/oss-fuzz-33691/clusterfuzz-testcase-minimized-ImagingPngFuzzer-6177282101215232

[commons-imaging] 01/02: [IMAGING-298] Apply suggestion of @arturobernalg to use lamnda expression

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

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git

commit 430a088fd4b8d78f78dbab490b4b0629f8463f94
Author: Bruno P. Kinoshita <ki...@apache.org>
AuthorDate: Tue Apr 27 10:33:30 2021 +1200

    [IMAGING-298] Apply suggestion of @arturobernalg to use lamnda expression
---
 src/test/java/org/apache/commons/imaging/formats/png/PngReadTest.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/commons/imaging/formats/png/PngReadTest.java b/src/test/java/org/apache/commons/imaging/formats/png/PngReadTest.java
index 4416dd7..fa7f69f 100644
--- a/src/test/java/org/apache/commons/imaging/formats/png/PngReadTest.java
+++ b/src/test/java/org/apache/commons/imaging/formats/png/PngReadTest.java
@@ -92,8 +92,6 @@ public class PngReadTest extends PngBaseTest {
         final String input = "/images/png/oss-fuzz-33691/clusterfuzz-testcase-minimized-ImagingPngFuzzer-6177282101215232";
         final String file = PngReadTest.class.getResource(input).getFile();
         final PngImageParser parser = new PngImageParser();
-        assertThrows(ImageReadException.class, () -> {
-            parser.getBufferedImage(new ByteSourceFile(new File(file)), Collections.emptyMap());
-        });
+        assertThrows(ImageReadException.class, () -> parser.getBufferedImage(new ByteSourceFile(new File(file)), Collections.emptyMap()));
     }
 }

[commons-imaging] 02/02: Merge branch 'IMAGING-298'

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

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git

commit f5287e78ce300213423900d4c79fe3790aefbcff
Merge: cf6d30e 430a088
Author: Bruno P. Kinoshita <ki...@apache.org>
AuthorDate: Tue Apr 27 10:34:05 2021 +1200

    Merge branch 'IMAGING-298'
    
    This closes #298

 src/changes/changes.xml                             |   3 +++
 .../commons/imaging/formats/png/PngImageParser.java |   6 +++++-
 .../commons/imaging/formats/png/PngReadTest.java    |  20 ++++++++++++++++++++
 ...case-minimized-ImagingPngFuzzer-6177282101215232 | Bin 0 -> 96 bytes
 4 files changed, 28 insertions(+), 1 deletion(-)