[packages/bladeenc] Rel 9
arekm
arekm at pld-linux.org
Wed May 20 12:14:29 CEST 2026
commit 134184471bcfc2835493b6d379bb3deeae906b62
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 12:14:13 2026 +0200
Rel 9
bladeenc-format-security.patch | 29 +++++++++++++++++++++++++++++
bladeenc.spec | 5 ++++-
2 files changed, 33 insertions(+), 1 deletion(-)
---
diff --git a/bladeenc.spec b/bladeenc.spec
index cccc10e..2bc1612 100644
--- a/bladeenc.spec
+++ b/bladeenc.spec
@@ -2,7 +2,7 @@ Summary: Blade's MP3 Encoder
Summary(pl.UTF-8): Koder MP3 Blade'a
Name: bladeenc
Version: 0.94.2
-Release: 8
+Release: 9
Epoch: 1
License: GPL
Vendor: Tord Jansson <tord.jansson at swipnet.se>
@@ -11,6 +11,7 @@ Source0: http://bladeenc.mp3.no/source/%{name}-%{version}-src-stable.tar.gz
# Source0-md5: 9b9f6eafe1637a48a67f0a0f8f6e71ad
Patch0: %{name}-fseek-sec.patch
Patch1: %{name}-etc_dir.patch
+Patch2: %{name}-format-security.patch
URL: http://bladeenc.mp3.no/
BuildRequires: autoconf
BuildRequires: automake
@@ -29,10 +30,12 @@ dźwiękowych w formacie WAV lub AIFF.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
cp -f /usr/share/automake/config.sub .
%{__aclocal}
+%{__automake} -a -c
%{__autoconf}
%configure
%{__make}
diff --git a/bladeenc-format-security.patch b/bladeenc-format-security.patch
new file mode 100644
index 0000000..7b80c22
--- /dev/null
+++ b/bladeenc-format-security.patch
@@ -0,0 +1,29 @@
+--- bladeenc-0.94.2/bladeenc/main.c.orig 2026-05-20 11:38:45.479323203 +0200
++++ bladeenc-0.94.2/bladeenc/main.c 2026-05-20 11:38:54.549561367 +0200
+@@ -813,7 +813,7 @@
+ wheelindex = (wheelindex + 1) % 4;
+ }
+
+- fprintf (textout, temp);
++ fputs (temp, textout);
+ fflush (textout);
+ break;
+
+@@ -828,7 +828,7 @@
+ wheelindex = (wheelindex + 1) % 4;
+ }
+
+- fprintf (textout, temp);
++ fputs (temp, textout);
+ fflush (textout);
+ break;
+
+@@ -847,7 +847,7 @@
+ wheelindex = (wheelindex + 1) % 4;
+ }
+
+- fprintf (textout, temp);
++ fputs (temp, textout);
+ fflush (textout);
+ break;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bladeenc.git/commitdiff/134184471bcfc2835493b6d379bb3deeae906b62
More information about the pld-cvs-commit
mailing list