pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/openjpeg
Module Name: pkgsrc
Committed By: sevan
Date: Tue Nov 26 23:24:25 UTC 2019
Modified Files:
pkgsrc/graphics/openjpeg: distinfo
pkgsrc/graphics/openjpeg/patches: patch-src_lib_openmj2_t2.c
Log Message:
pasto
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/graphics/openjpeg/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/openjpeg/distinfo
diff -u pkgsrc/graphics/openjpeg/distinfo:1.15 pkgsrc/graphics/openjpeg/distinfo:1.16
--- pkgsrc/graphics/openjpeg/distinfo:1.15 Tue Nov 26 23:10:22 2019
+++ pkgsrc/graphics/openjpeg/distinfo Tue Nov 26 23:24:25 2019
@@ -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-CMakeLists.txt) = 3738946db6
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
Index: pkgsrc/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c
diff -u pkgsrc/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c:1.1 pkgsrc/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c:1.2
--- pkgsrc/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c:1.1 Tue Nov 26 23:10:22 2019
+++ pkgsrc/graphics/openjpeg/patches/patch-src_lib_openmj2_t2.c Tue Nov 26 23:24:25 2019
@@ -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 @@ https://nvd.nist.gov/vuln/detail/CVE-201
+ "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