[packages/edb] Rel .5
arekm
arekm at pld-linux.org
Thu May 21 15:28:09 CEST 2026
commit dd0e32ac8f4d93046b994f34e3693448e9416ec9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 21 15:27:52 2026 +0200
Rel .5
edb-format-security.patch | 42 ++++++++++++++++++++++++++++++++++++++++++
edb.spec | 7 +++++--
2 files changed, 47 insertions(+), 2 deletions(-)
---
diff --git a/edb.spec b/edb.spec
index e209531..4f6e4fd 100644
--- a/edb.spec
+++ b/edb.spec
@@ -3,11 +3,12 @@ Summary: Enlightenment Database Access Library
Summary(pl.UTF-8): Biblioteka Enlightementa dostępu do baz danych
Name: edb
Version: 1.0.5.043
-Release: 0.%{_snap}.4
+Release: 0.%{_snap}.5
License: BSD
Group: Libraries
Source0: %{name}-%{version}-%{_snap}.tar.bz2
# Source0-md5: e5d58d14f0333b2b292a23153cee8da3
+Patch0: %{name}-format-security.patch
URL: http://enlightenment.org/Libraries/Edb/
BuildRequires: autoconf >= 2.52
BuildRequires: automake >= 1.6
@@ -63,9 +64,11 @@ Edytor baz danych oparty na GTK+.
%prep
%setup -q -n %{name}-%{version}-%{_snap}
+%patch -P0 -p0
%build
-CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"; export CFLAGS
+CPPFLAGS="%{rpmcppflags} -I%{_includedir}/ncurses"; export CPPFLAGS
+CFLAGS="%{rpmcflags}"; export CFLAGS
%{__libtoolize}
%{__aclocal}
%{__autoconf}
diff --git a/edb-format-security.patch b/edb-format-security.patch
new file mode 100644
index 0000000..d80ec8e
--- /dev/null
+++ b/edb-format-security.patch
@@ -0,0 +1,42 @@
+--- tools/edb_vt_ed.c.orig 2026-05-21 01:22:13.469905599 +0200
++++ tools/edb_vt_ed.c 2026-05-21 01:22:13.472471052 +0200
+@@ -157,7 +157,7 @@
+ if( first+9 < marked ) first = marked - 9;
+
+ sprintf(str,"%8d %8d %8d %8d", c, keys_num, first, marked );
+- mvwprintw(app_win, 23, 0, str);
++ mvwprintw(app_win, 23, 0, "%s", str);
+ }
+ exit_reason = 0;
+ the_end(0);
+@@ -237,7 +237,7 @@
+ strcat(buffer,tdata);
+ strpad(buffer,79);
+
+- mvwprintw(scrl_win, row, 0, buffer );
++ mvwprintw(scrl_win, row, 0, "%s", buffer );
+
+ }
+
+@@ -365,7 +365,7 @@
+ strcat(buffer,"Binary ( )");
+ strpad(buffer,80);
+
+- mvwprintw(app_win, 15,0, buffer);
++ mvwprintw(app_win, 15,0, "%s", buffer);
+
+ mvwprintw(app_win, 16,0, "Data:");
+
+@@ -373,10 +373,10 @@
+
+ sprintf(buffer,"%s",keys[marked]);
+ strpad(buffer,74);
+- mvwprintw(app_win, 14,6, buffer);
++ mvwprintw(app_win, 14,6, "%s", buffer);
+
+ strpad(tdata,1023);
+- mvwprintw(app_win, 16, 6, tdata);
++ mvwprintw(app_win, 16, 6, "%s", tdata);
+
+ switch(t)
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/edb.git/commitdiff/dd0e32ac8f4d93046b994f34e3693448e9416ec9
More information about the pld-cvs-commit
mailing list