1 |
commit: db7d87414927be91349942aa2e5ff04d62227d83 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jun 30 18:18:33 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 1 19:58:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7d8741 |
7 |
|
8 |
app-text/djvu: remove unused patch(es) |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/16510 |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
|
15 |
app-text/djvu/files/fix-CVE-2019-18804.patch | 39 ---------------------------- |
16 |
1 file changed, 39 deletions(-) |
17 |
|
18 |
diff --git a/app-text/djvu/files/fix-CVE-2019-18804.patch b/app-text/djvu/files/fix-CVE-2019-18804.patch |
19 |
deleted file mode 100644 |
20 |
index b5d790ba1b1..00000000000 |
21 |
--- a/app-text/djvu/files/fix-CVE-2019-18804.patch |
22 |
+++ /dev/null |
23 |
@@ -1,39 +0,0 @@ |
24 |
-From c8bec6549c10ffaa2f2fbad8bbc629efdf0dd125 Mon Sep 17 00:00:00 2001 |
25 |
-From: Leon Bottou <leon@××××××.org> |
26 |
-Date: Thu, 17 Oct 2019 22:20:31 -0400 |
27 |
-Subject: [PATCH] Fixed bug 309 |
28 |
- |
29 |
---- |
30 |
- libdjvu/IW44EncodeCodec.cpp | 2 +- |
31 |
- tools/ddjvu.cpp | 2 +- |
32 |
- 2 files changed, 2 insertions(+), 2 deletions(-) |
33 |
- |
34 |
-diff --git a/libdjvu/IW44EncodeCodec.cpp b/libdjvu/IW44EncodeCodec.cpp |
35 |
-index 00752a0..f81eaeb 100644 |
36 |
---- a/libdjvu/IW44EncodeCodec.cpp |
37 |
-+++ b/libdjvu/IW44EncodeCodec.cpp |
38 |
-@@ -405,7 +405,7 @@ filter_fv(short *p, int w, int h, int rowsize, int scale) |
39 |
- int y = 0; |
40 |
- int s = scale*rowsize; |
41 |
- int s3 = s+s+s; |
42 |
-- h = ((h-1)/scale)+1; |
43 |
-+ h = (h>0) ? ((h-1)/scale)+1 : 0; |
44 |
- y += 1; |
45 |
- p += s; |
46 |
- while (y-3 < h) |
47 |
-diff --git a/tools/ddjvu.cpp b/tools/ddjvu.cpp |
48 |
-index 6d0df3b..7109952 100644 |
49 |
---- a/tools/ddjvu.cpp |
50 |
-+++ b/tools/ddjvu.cpp |
51 |
-@@ -279,7 +279,7 @@ render(ddjvu_page_t *page, int pageno) |
52 |
- prect.h = (ih * 100) / dpi; |
53 |
- } |
54 |
- /* Process aspect ratio */ |
55 |
-- if (flag_aspect <= 0) |
56 |
-+ if (flag_aspect <= 0 && iw>0 && ih>0) |
57 |
- { |
58 |
- double dw = (double)iw / prect.w; |
59 |
- double dh = (double)ih / prect.h; |
60 |
--- |
61 |
-2.23.0 |
62 |
- |