mirror of
https://github.com/openwrt/telephony.git
synced 2025-05-02 17:00:55 +08:00

CVE-2023-5217 CVE-2023-44488 Patches are for bundled libvpx, see [1]. [1] https://github.com/signalwire/freeswitch/issues/2258 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
24 lines
805 B
Diff
24 lines
805 B
Diff
From 6f9e72c585265d8def8a613b36cd4f524c201980 Mon Sep 17 00:00:00 2001
|
|
From: Andrey Volk <andywolk@gmail.com>
|
|
Date: Wed, 4 Oct 2023 00:47:39 +0300
|
|
Subject: [PATCH] [libvpx] VP8: disallow thread count changes
|
|
|
|
---
|
|
libs/libvpx/vp8/encoder/onyx_if.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/libs/libvpx/vp8/encoder/onyx_if.c
|
|
+++ b/libs/libvpx/vp8/encoder/onyx_if.c
|
|
@@ -1447,6 +1447,11 @@ void vp8_change_config(VP8_COMP *cpi, VP
|
|
last_h = cpi->oxcf.Height;
|
|
prev_number_of_layers = cpi->oxcf.number_of_layers;
|
|
|
|
+ if (cpi->initial_width) {
|
|
+ // TODO(https://crbug.com/1486441): Allow changing thread counts; the
|
|
+ // allocation is done once in vp8_create_compressor().
|
|
+ oxcf->multi_threaded = cpi->oxcf.multi_threaded;
|
|
+ }
|
|
cpi->oxcf = *oxcf;
|
|
|
|
switch (cpi->oxcf.Mode) {
|