diff options
author | Sam James <sam@gentoo.org> | 2020-07-29 19:49:05 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-07-29 23:11:45 +0000 |
commit | af1c2da6c3e7711f6cc2a1c985d23d93d73bbe0f (patch) | |
tree | 0e5c6aadbab0ac6ad1a5ba2c08106c477f69c52c /media-libs/jbig2dec/files | |
parent | net-misc/dropbear: security cleanup (diff) | |
download | gentoo-af1c2da6c3e7711f6cc2a1c985d23d93d73bbe0f.tar.gz gentoo-af1c2da6c3e7711f6cc2a1c985d23d93d73bbe0f.tar.bz2 gentoo-af1c2da6c3e7711f6cc2a1c985d23d93d73bbe0f.zip |
media-libs/jbig2dec: security cleanup
Bug: https://bugs.gentoo.org/719730
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/jbig2dec/files')
-rw-r--r-- | media-libs/jbig2dec/files/jbig2dec-0.17-fix-test_jbig2dec.py.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/media-libs/jbig2dec/files/jbig2dec-0.17-fix-test_jbig2dec.py.patch b/media-libs/jbig2dec/files/jbig2dec-0.17-fix-test_jbig2dec.py.patch deleted file mode 100644 index e99a298f5de9..000000000000 --- a/media-libs/jbig2dec/files/jbig2dec-0.17-fix-test_jbig2dec.py.patch +++ /dev/null @@ -1,39 +0,0 @@ -From c48d802aa6f65cc0284c8aa9824b6ae4e7dd5aa1 Mon Sep 17 00:00:00 2001 -From: Sebastian Rasmussen <sebras@gmail.com> -Date: Fri, 14 Jun 2019 22:18:14 +0200 -Subject: [PATCH] jbig2dec: Make tests expect that some test files return white - image. - -Previously these tests would just error out and jbig2dec would not -return any output file at all. Now, jbig2dec parses as much as -possible, while emitting warning/error messages. In the case of a -few of the test files the end result is a white image. ---- - test_jbig2dec.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/test_jbig2dec.py b/test_jbig2dec.py -index a841438..33008e5 100755 ---- a/test_jbig2dec.py -+++ b/test_jbig2dec.py -@@ -60,6 +60,7 @@ class KnownFileHash(SelfTest): - - # hashes of known test inputs - known_NOTHING_DECODED = "da39a3ee5e6b4b0d3255bfef95601890afd80709" -+ known_WHITE_PAGE_DECODED = "28a6bd83a8a3a36910fbc1f5ce06c962e4332911" - known_042_DECODED = "ebfdf6e2fc5ff3ee2271c2fa19de0e52712046e8" - known_amb_DECODED = "3d4b7992d506894662b53415bd3d0d2a2f8b7953" - -@@ -103,10 +104,10 @@ class KnownFileHash(SelfTest): - known_042_DECODED), - ('../ubc/042_13.jb2', - "7d428bd542f58591b254d9827f554b0552c950a7", -- known_NOTHING_DECODED), -+ known_WHITE_PAGE_DECODED), - ('../ubc/042_14.jb2', - "c40fe3a02acb6359baf9b40fc9c49bc0800be589", -- known_NOTHING_DECODED), -+ known_WHITE_PAGE_DECODED), - ('../ubc/042_15.jb2', - "a9e39fc1ecb178aec9f05039514d75ea3246246c", - known_042_DECODED), |