From cc0564b5949b394ee5a45b3622d6f9815b42f761 Mon Sep 17 00:00:00 2001 From: openeuler-ci-bot <80474298@qq.com> Date: Fri, 27 Nov 2020 21:58:53 +0800 Subject: [PATCH 1/2] [patch tracking] 20201127215849761138 - https://github.com/uclouvain/openjpeg/commit/a2b2980a4bcb4d3903375de31495f99dde0e98a8 --- a2b2980a4bcb4d3903375de31495f99dde0e98a8.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 a2b2980a4bcb4d3903375de31495f99dde0e98a8.patch diff --git a/a2b2980a4bcb4d3903375de31495f99dde0e98a8.patch b/a2b2980a4bcb4d3903375de31495f99dde0e98a8.patch new file mode 100644 index 0000000..a53e829 --- /dev/null +++ b/a2b2980a4bcb4d3903375de31495f99dde0e98a8.patch @@ -0,0 +1,12 @@ +diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c +index edc2f416f..7823f2684 100644 +--- a/src/lib/openjp2/tcd.c ++++ b/src/lib/openjp2/tcd.c +@@ -2851,6 +2851,7 @@ void opj_tcd_marker_info_destroy(opj_tcd_marker_info_t *p_tcd_marker_info) + { + if (p_tcd_marker_info) { + opj_free(p_tcd_marker_info->p_packet_size); ++ opj_free(p_tcd_marker_info); + } + } + -- Gitee From 543fd8ccfcea80d27db3b5d3b45f1e649c9e4114 Mon Sep 17 00:00:00 2001 From: openeuler-ci-bot <80474298@qq.com> Date: Fri, 27 Nov 2020 21:58:54 +0800 Subject: [PATCH 2/2] [patch tracking] 20201127215849761138 - update spec file --- openjpeg2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openjpeg2.spec b/openjpeg2.spec index e4f0659..c7c81ec 100644 --- a/openjpeg2.spec +++ b/openjpeg2.spec @@ -1,6 +1,6 @@ Name: openjpeg2 Version: 2.3.1 -Release: 3 +Release: 4 Summary: C-Library for JPEG 2000 License: BSD and MIT URL: https://github.com/uclouvain/openjpeg @@ -12,6 +12,7 @@ Patch1: openjpeg2_opj2.patch Patch6000: CVE-2016-10505.patch Patch6001: CVE-2016-7445.patch Patch6002: CVE-2020-15389.patch +Patch6003: a2b2980a4bcb4d3903375de31495f99dde0e98a8.patch BuildRequires: cmake gcc-c++ make zlib-devel libpng-devel libtiff-devel lcms2-devel doxygen @@ -87,6 +88,9 @@ mv %{buildroot}%{_mandir}/man1/opj_dump.1 %{buildroot}%{_mandir}/man1/opj2_dump. %{_mandir}/man3/*.3* %changelog +* 20201127215849761138 patch-tracking 2.3.1-4 +- append patch file of upstream repository from to + * Sat Jul 25 2020 zhangnaru -2.3.1-3 - fix CVE-2020-15389 @@ -94,4 +98,4 @@ mv %{buildroot}%{_mandir}/man1/opj_dump.1 %{buildroot}%{_mandir}/man1/opj2_dump. - fix CVE-2016-10505 and CVE-2016-7445 * Thu Sep 19 2019 openEuler Buildteam - 2.3.1-1 -- Package init +- Package init \ No newline at end of file -- Gitee