diff --git a/libva-2.20.0.tar.gz b/libva-2.20.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b87ed592333f7455a971f661828f39b5258b35ba Binary files /dev/null and b/libva-2.20.0.tar.gz differ diff --git a/libva-2.5.0.tar.gz b/libva-2.5.0.tar.gz deleted file mode 100644 index 8eb88d270dc20fc92d8180a9419d39f674e5cb3f..0000000000000000000000000000000000000000 Binary files a/libva-2.5.0.tar.gz and /dev/null differ diff --git a/libva.spec b/libva.spec index 98588c36dd7bef94d9f1fd49578783e3c2a89f8d..fddca15ca7d2ee21db36a1a50c875a2ca36409b8 100644 --- a/libva.spec +++ b/libva.spec @@ -1,13 +1,12 @@ Name: libva -Version: 2.5.0 -Release: 3 +Version: 2.20.0 +Release: 1 Summary: Libva is an implementation for VA-API (Video Acceleration API) License: MIT URL: https://github.com/intel/libva Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: trace-fix-memory-leak-on-closing-the-trace.patch -BuildRequires: libtool libudev-devel libXext-devel libXfixes-devel libdrm-devel git +BuildRequires: libtool libudev-devel libXext-devel libXfixes-devel libdrm-devel BuildRequires: libpciaccess-devel mesa-libEGL-devel mesa-libGL-devel libglvnd-devel BuildRequires: wayland-devel pkgconfig(wayland-client) pkgconfig(wayland-scanner) @@ -33,7 +32,7 @@ developing applications that use %{name}. %prep -%autosetup -n %{name}-%{version} -p1 -Sgit +%autosetup -n %{name}-%{version} -p1 autoreconf -vif @@ -68,6 +67,13 @@ autoreconf -vif %changelog +* Tue Jun 04 2024 yaoxin - 2.20.0-1 +- Upgrade to 2.20.0 for fix CVE-2023-39929 +- Fix minor issue about printf data type and value range +- av1: Revise offsets comments for av1 encode +- jpeg: add support for crop and partial decode +- Drop no longer applicable vaGetDriverNames check + * Thu Dec 28 2023 fandehui - 2.5.0-3 - trace: fix memory leak on closing the trace diff --git a/trace-fix-memory-leak-on-closing-the-trace.patch b/trace-fix-memory-leak-on-closing-the-trace.patch deleted file mode 100644 index 34f7702b5b484f5ab0ad06ff9e98d826aebc4a5d..0000000000000000000000000000000000000000 --- a/trace-fix-memory-leak-on-closing-the-trace.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 9542f7ba9e88b04b4c1a5d7d71ba686132b7313c Mon Sep 17 00:00:00 2001 -From: Dmitry Rogozhkin -Date: Tue, 13 Aug 2019 07:15:44 -0700 -Subject: [PATCH] trace: fix memory leak on closing the trace - -Fixes: #327 - -This removes redundunt check for the number of log files. The whole -'struct va_trace' is being calloc-d and we can just check that -pointers to log files are valid instead of relying on number of -active log files. - -Signed-off-by: Dmitry Rogozhkin ---- - va/va_trace.c | 7 ------- - 1 file changed, 7 deletions(-) - -diff --git a/va/va_trace.c b/va/va_trace.c -index ccbd471..b1964c9 100755 ---- a/va/va_trace.c -+++ b/va/va_trace.c -@@ -99,8 +99,6 @@ struct trace_log_file { - }; - - struct trace_log_files_manager { -- int num; -- - struct trace_log_file log_file[MAX_TRACE_THREAD_NUM]; - }; - -@@ -848,9 +846,6 @@ void va_TraceEnd(VADisplay dpy) - for(i = 0;i < MAX_TRACE_THREAD_NUM;i++) { - struct trace_log_file *plog_file = NULL; - -- if(pva_trace->log_files_manager.num <= 0) -- break; -- - plog_file = &pva_trace->log_files_manager.log_file[i]; - if(plog_file) { - if(plog_file->fn_log) -@@ -858,8 +853,6 @@ void va_TraceEnd(VADisplay dpy) - - if(plog_file->fp_log) - fclose(plog_file->fp_log); -- -- pva_trace->log_files_manager.num--; - } - } - --- -2.27.0 -