pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/openjpeg pasto



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fc145ad836f
branches:  trunk
changeset: 405381:3fc145ad836f
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Tue Nov 26 23:24:25 2019 +0000

description:
pasto

diffstat:

 graphics/openjpeg/distinfo                           |   4 ++--
 graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c |  11 +++++++----
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r e7a8348238a9 -r 3fc145ad836f graphics/openjpeg/distinfo
--- a/graphics/openjpeg/distinfo        Tue Nov 26 23:10:22 2019 +0000
+++ b/graphics/openjpeg/distinfo        Tue Nov 26 23:24:25 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2019/11/26 23:10:22 sevan Exp $
+$NetBSD: distinfo,v 1.16 2019/11/26 23:24:25 sevan Exp $
 
 SHA1 (openjpeg-2.3.1.tar.gz) = 38321fa9730252039ad0b7f247a160a8164f5871
 RMD160 (openjpeg-2.3.1.tar.gz) = 31b75aa70f5d26dd1b7e374a9e4b6be1842fefe7
@@ -8,4 +8,4 @@
 SHA1 (patch-src_bin_jp2_CMakeLists.txt) = c9f709c23d6bab7a3c705640d66a00ec90ddabc7
 SHA1 (patch-src_lib_openjp2_CMakeLists.txt) = d839121ec2d008e5d3e1676d3e7ac3642bc946f7
 SHA1 (patch-src_lib_openjp2_opj__config__private.h.cmake.in) = fc0c170789dbe0a2ebc9dce0ef0d21aa6b2edd49
-SHA1 (patch-src_lib_openmj2_t2.c) = 7689b3d82a5d346707a3519f183757356e118a8c
+SHA1 (patch-src_lib_openmj2_t2.c) = a4ce0faa349f1a23453ef7632fbcc3af2d045337
diff -r e7a8348238a9 -r 3fc145ad836f graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c
--- a/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c      Tue Nov 26 23:10:22 2019 +0000
+++ b/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c      Tue Nov 26 23:24:25 2019 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-src_lib_openmj2_t2.c,v 1.1 2019/11/26 23:10:22 sevan Exp $
+$NetBSD: patch-src_lib_openmj2_t2.c,v 1.2 2019/11/26 23:24:25 sevan Exp $
 
 CVE-2018-16376
 https://github.com/uclouvain/openjpeg/issues/1127
 https://nvd.nist.gov/vuln/detail/CVE-2018-16376
 
---- src/lib/openmj2/t2.c.orig  2019-11-26 22:37:00.687890833 +0000
+--- src/lib/openmj2/t2.c.orig  2019-04-02 12:45:15.000000000 +0000
 +++ src/lib/openmj2/t2.c
-@@ -166,6 +166,12 @@ static int t2_encode_packet(opj_tcd_tile
+@@ -166,6 +166,15 @@ static int t2_encode_packet(opj_tcd_tile
  
      /* <SOP 0xff91> */
      if (tcp->csty & J2K_CP_CSTY_SOP) {
@@ -16,10 +16,13 @@
 +                              "opj_t2_encode_packet(): only %u bytes remaining in "
 +                              "output buffer. %u needed.\n",
 +                              length, 6);
++          }
++          return OPJ_FALSE;
++      }
          c[0] = 255;
          c[1] = 145;
          c[2] = 0;
-@@ -272,6 +278,15 @@ static int t2_encode_packet(opj_tcd_tile
+@@ -272,6 +281,15 @@ static int t2_encode_packet(opj_tcd_tile
  
      /* <EPH 0xff92> */
      if (tcp->csty & J2K_CP_CSTY_EPH) {



Home | Main Index | Thread Index | Old Index