public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10.2: add patch to fix CVE-2006-6979 (bug 228138)
@ 2026-07-06 18:30 Aurelien Bompard
  0 siblings, 0 replies; only message in thread
From: Aurelien Bompard @ 2026-07-06 18:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/amarok
Branch : epel10.2
Commit : aa141cfa779698f2fca434d333a43b5236db9ead
Author : Aurelien Bompard <abompard@fedoraproject.org>
Date   : 2007-02-14T19:13:24+00:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/amarok/c/aa141cfa779698f2fca434d333a43b5236db9ead?branch=epel10.2

Log:
add patch to fix CVE-2006-6979 (bug 228138)

---
diff --git a/amarok-1.4.5-CVE-2006-6979.patch b/amarok-1.4.5-CVE-2006-6979.patch
new file mode 100644
index 0000000..5a67536
--- /dev/null
+++ b/amarok-1.4.5-CVE-2006-6979.patch
@@ -0,0 +1,13 @@
+Index: src/magnatunebrowser/magnatunealbumdownloader.cpp
+===================================================================
+--- amarok/src/magnatunebrowser/magnatunealbumdownloader.cpp	(revision 633106)
++++ amarok/src/magnatunebrowser/magnatunealbumdownloader.cpp	(working copy)
+@@ -89,7 +89,7 @@
+ 
+     //ok, now we have the .zip file downloaded. All we need is to unpack it to the desired location and add it to the collection.
+ 
+-    QString unzipString = "unzip \""+m_tempDir.name() + m_currentAlbumFileName + "\" -d \"" + m_currentAlbumUnpackLocation + "\" &";
++    QString unzipString = KProcess::quote( "unzip \""+m_tempDir.name() + m_currentAlbumFileName + "\" -d \"" + m_currentAlbumUnpackLocation + "\" &" );
+ 
+     debug() << "unpacking: " << unzipString << endl;
+ 

diff --git a/amarok.spec b/amarok.spec
index b7bcd43..9beaa26 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -4,13 +4,14 @@
 Name:       amarok
 Summary:    Media player for KDE
 Version:    1.4.5
-Release:    1%{?dist}
+Release:    2%{?dist}
 
 Group: 	    Applications/Multimedia
 License:    GPL
 Url:        http://amarok.kde.org
 # http://download.kde.org/download.php?url=stable/amarok/1.4.3/src
 Source0:    http://mirrors.isc.org/pub/kde/stable/amarok/%{version}/src/amarok-%{version}.tar.bz2
+Patch0:     amarok-1.4.5-CVE-2006-6979.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kdemultimedia-devel >= 6:3.2
@@ -80,6 +81,7 @@ use any of xmms' visualisation plugins with Amarok.
 
 %prep
 %setup -q
+%patch0 -p0 -b .CVE-2006-6979
 
 
 
@@ -233,6 +235,9 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Feb 14 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.4.5-2
+- add patch to fix CVE-2006-6979 (bug 228138)
+
 * Sat Feb 03 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.4.5-1
 - version 1.4.5
 - drop patch0 and patch1 (merged upstream)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-06 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 18:30 [rpms/amarok] epel10.2: add patch to fix CVE-2006-6979 (bug 228138) Aurelien Bompard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox