[packages/libcue] - updated to 2.3.0

qboosh qboosh at pld-linux.org
Sat Mar 23 22:39:58 CET 2024


commit 8bf57b52ee8c849313aca00f473729c85e4acf3a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 23 22:38:00 2024 +0100

    - updated to 2.3.0

 CVE-2023-43641.patch | 24 ------------------------
 libcue.spec          | 10 ++++------
 2 files changed, 4 insertions(+), 30 deletions(-)
---
diff --git a/libcue.spec b/libcue.spec
index 3e3b758..8f2dc19 100644
--- a/libcue.spec
+++ b/libcue.spec
@@ -1,14 +1,13 @@
 Summary:	CUE Sheet Parser Library
 Summary(pl.UTF-8):	Biblioteka analizująca Cue Sheet
 Name:		libcue
-Version:	2.2.1
-Release:	2
+Version:	2.3.0
+Release:	1
 License:	GPL v2, parts BSD-like
 Group:		Libraries
 #Source0Download: https://github.com/lipnitsk/libcue/releases
 Source0:	https://github.com/lipnitsk/libcue/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	1dfe65751c3817c76a107bd5a0d924a3
-Patch0:         CVE-2023-43641.patch
+# Source0-md5:	a3daa638ba0bf8581c750e6ea6e82a52
 URL:		https://github.com/lipnitsk/libcue
 BuildRequires:	bison
 BuildRequires:	cmake >= 2.8
@@ -36,7 +35,7 @@ Summary:	Header files for libcue library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libcue
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Obsoletes:	libcue-static
+Obsoletes:	libcue-static < 2.1
 
 %description devel
 Header files for libcue library.
@@ -46,7 +45,6 @@ Pliki nagłówkowe biblioteki libcue.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 install -d build
diff --git a/CVE-2023-43641.patch b/CVE-2023-43641.patch
deleted file mode 100644
index b38727f..0000000
--- a/CVE-2023-43641.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From fdf72c8bded8d24cfa0608b8e97f2eed210a920e Mon Sep 17 00:00:00 2001
-From: Kevin Backhouse <kevinbackhouse at github.com>
-Date: Wed, 27 Sep 2023 20:22:43 +0100
-Subject: [PATCH] Check that the array index isn't negative. This fixes
- CVE-2023-43641.
-
-Signed-off-by: Kevin Backhouse <kevinbackhouse at github.com>
----
- cd.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cd.c b/cd.c
-index cf77a18..4bbea19 100644
---- a/cd.c
-+++ b/cd.c
-@@ -339,7 +339,7 @@ track_get_rem(const Track* track)
- 
- void track_set_index(Track *track, int i, long ind)
- {
--	if (i > MAXINDEX) {
-+	if (i < 0 || i > MAXINDEX) {
- 		fprintf(stderr, "too many indexes\n");
-                 return;
-         }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcue.git/commitdiff/8bf57b52ee8c849313aca00f473729c85e4acf3a



More information about the pld-cvs-commit mailing list