diff options
| author | Ankur Tyagi <ankur.tyagi85@gmail.com> | 2026-04-09 19:09:18 +1200 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-04-13 12:40:21 +0530 |
| commit | d17d94e0e04eaf5f8206f4da1910dd6c66401f45 (patch) | |
| tree | 4a26d38b361a58a1da6a967cd03a7fb687526f7f /meta-multimedia/recipes-multimedia | |
| parent | 7e723ad1c7bd3a3eeb94e30f3f3b520b50172fe5 (diff) | |
| download | meta-openembedded-d17d94e0e04eaf5f8206f4da1910dd6c66401f45.tar.gz | |
libde265: upgrade 1.0.12 -> 1.0.16
Dropped patches which are part of the upstream version.
https://github.com/strukturag/libde265/releases/tag/v1.0.16
https://github.com/strukturag/libde265/releases/tag/v1.0.15
https://github.com/strukturag/libde265/releases/tag/v1.0.14
https://github.com/strukturag/libde265/releases/tag/v1.0.13
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-43887.patch | 39 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-47471.patch | 42 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libde265/libde265_1.0.16.bb (renamed from meta-multimedia/recipes-multimedia/libde265/libde265_1.0.12.bb) | 4 |
3 files changed, 1 insertions, 84 deletions
diff --git a/meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-43887.patch b/meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-43887.patch deleted file mode 100644 index f8ab0e1e40..0000000000 --- a/meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-43887.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | From e31a5389f2a4967b9ca298a3435d1af2f9a04cda Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dirk Farin <dirk.farin@gmail.com> | ||
| 3 | Date: Fri, 1 Sep 2023 21:18:48 +0200 | ||
| 4 | Subject: [PATCH] fix #418 | ||
| 5 | |||
| 6 | CVE: CVE-2023-43887 | ||
| 7 | Upstream-Status: Backport [https://github.com/strukturag/libde265/commit/63b596c915977f038eafd7647d1db25488a8c133] | ||
| 8 | (cherry picked from commit 63b596c915977f038eafd7647d1db25488a8c133) | ||
| 9 | Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> | ||
| 10 | --- | ||
| 11 | libde265/decctx.cc | 9 +++++---- | ||
| 12 | 1 file changed, 5 insertions(+), 4 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/libde265/decctx.cc b/libde265/decctx.cc | ||
| 15 | index 223a6aaf..350f7e7a 100644 | ||
| 16 | --- a/libde265/decctx.cc | ||
| 17 | +++ b/libde265/decctx.cc | ||
| 18 | @@ -582,16 +582,17 @@ de265_error decoder_context::read_pps_NAL(bitreader& reader) | ||
| 19 | std::shared_ptr<pic_parameter_set> new_pps = std::make_shared<pic_parameter_set>(); | ||
| 20 | |||
| 21 | bool success = new_pps->read(&reader,this); | ||
| 22 | + if (!success) { | ||
| 23 | + return DE265_WARNING_PPS_HEADER_INVALID; | ||
| 24 | + } | ||
| 25 | |||
| 26 | if (param_pps_headers_fd>=0) { | ||
| 27 | new_pps->dump(param_pps_headers_fd); | ||
| 28 | } | ||
| 29 | |||
| 30 | - if (success) { | ||
| 31 | - pps[ (int)new_pps->pic_parameter_set_id ] = new_pps; | ||
| 32 | - } | ||
| 33 | + pps[ (int)new_pps->pic_parameter_set_id ] = new_pps; | ||
| 34 | |||
| 35 | - return success ? DE265_OK : DE265_WARNING_PPS_HEADER_INVALID; | ||
| 36 | + return DE265_OK; | ||
| 37 | } | ||
| 38 | |||
| 39 | de265_error decoder_context::read_sei_NAL(bitreader& reader, bool suffix) | ||
diff --git a/meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-47471.patch b/meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-47471.patch deleted file mode 100644 index 3d66758e49..0000000000 --- a/meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2023-47471.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From 78bd5752157f34e822cefd8ff8959a96a26b4841 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dirk Farin <dirk.farin@gmail.com> | ||
| 3 | Date: Sat, 4 Nov 2023 15:20:50 +0100 | ||
| 4 | Subject: [PATCH] null-pointer check in debug output (fixes #426) | ||
| 5 | |||
| 6 | CVE: CVE-2023-47471 | ||
| 7 | Upstream-Status: Backport [https://github.com/strukturag/libde265/commit/e36b4a1b0bafa53df47514c419d5be3e8916ebc7] | ||
| 8 | (cherry picked from commit e36b4a1b0bafa53df47514c419d5be3e8916ebc7) | ||
| 9 | Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> | ||
| 10 | --- | ||
| 11 | libde265/slice.cc | 11 ++++++++++- | ||
| 12 | 1 file changed, 10 insertions(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/libde265/slice.cc b/libde265/slice.cc | ||
| 15 | index 280b7417..435123dc 100644 | ||
| 16 | --- a/libde265/slice.cc | ||
| 17 | +++ b/libde265/slice.cc | ||
| 18 | @@ -1277,14 +1277,23 @@ void slice_segment_header::dump_slice_segment_header(const decoder_context* ctx, | ||
| 19 | #define LOG3(t,d1,d2,d3) log2fh(fh, t,d1,d2,d3) | ||
| 20 | #define LOG4(t,d1,d2,d3,d4) log2fh(fh, t,d1,d2,d3,d4) | ||
| 21 | |||
| 22 | + LOG0("----------------- SLICE -----------------\n"); | ||
| 23 | + | ||
| 24 | const pic_parameter_set* pps = ctx->get_pps(slice_pic_parameter_set_id); | ||
| 25 | + if (!pps) { | ||
| 26 | + LOG0("invalid PPS referenced\n"); | ||
| 27 | + return; | ||
| 28 | + } | ||
| 29 | assert(pps->pps_read); // TODO: error handling | ||
| 30 | |||
| 31 | const seq_parameter_set* sps = ctx->get_sps((int)pps->seq_parameter_set_id); | ||
| 32 | + if (!sps) { | ||
| 33 | + LOG0("invalid SPS referenced\n"); | ||
| 34 | + return; | ||
| 35 | + } | ||
| 36 | assert(sps->sps_read); // TODO: error handling | ||
| 37 | |||
| 38 | |||
| 39 | - LOG0("----------------- SLICE -----------------\n"); | ||
| 40 | LOG1("first_slice_segment_in_pic_flag : %d\n", first_slice_segment_in_pic_flag); | ||
| 41 | if (ctx->get_nal_unit_type() >= NAL_UNIT_BLA_W_LP && | ||
| 42 | ctx->get_nal_unit_type() <= NAL_UNIT_RESERVED_IRAP_VCL23) { | ||
diff --git a/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.12.bb b/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.16.bb index e32a2af51c..e77d23db88 100644 --- a/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.12.bb +++ b/meta-multimedia/recipes-multimedia/libde265/libde265_1.0.16.bb | |||
| @@ -9,11 +9,9 @@ LICENSE_FLAGS = "commercial" | |||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=695b556799abb2435c97a113cdca512f" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=695b556799abb2435c97a113cdca512f" |
| 10 | 10 | ||
| 11 | SRC_URI = "git://github.com/strukturag/libde265.git;branch=master;protocol=https \ | 11 | SRC_URI = "git://github.com/strukturag/libde265.git;branch=master;protocol=https \ |
| 12 | file://CVE-2023-43887.patch \ | ||
| 13 | file://CVE-2023-47471.patch \ | ||
| 14 | file://CVE-2025-61147.patch \ | 12 | file://CVE-2025-61147.patch \ |
| 15 | " | 13 | " |
| 16 | SRCREV = "a267c84707ab264928fa9b86de2ee749c48c318c" | 14 | SRCREV = "7ba65889d3d6d8a0d99b5360b028243ba843be3a" |
| 17 | 15 | ||
| 18 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 19 | 17 | ||
