public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Aurelien Bompard <abompard@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10.2: add patch to fix CVE-2006-6979 (bug 228138)
Date: Mon, 06 Jul 2026 18:30:04 GMT	[thread overview]
Message-ID: <178336260426.1.10124958529118002071.rpms-amarok-aa141cfa7796@fedoraproject.org> (raw)

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)

                 reply	other threads:[~2026-07-06 18:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178336260426.1.10124958529118002071.rpms-amarok-aa141cfa7796@fedoraproject.org \
    --to=abompard@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox