parent
88f14992c3
commit
9722a8b6cd
12
tmux-fix-malloc-check-error.patch
Normal file
12
tmux-fix-malloc-check-error.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- cmd.c-orig 2014-02-26 09:57:06.441154327 -0300
|
||||||
|
+++ cmd.c 2014-02-26 09:58:00.631888951 -0300
|
||||||
|
@@ -138,6 +138,9 @@
|
||||||
|
size_t arglen;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
+ if (argc == 0)
|
||||||
|
+ return (0);
|
||||||
|
+
|
||||||
|
*buf = '\0';
|
||||||
|
for (i = 0; i < argc; i++) {
|
||||||
|
if (strlcpy(buf, argv[i], len) >= len)
|
@ -1,6 +1,6 @@
|
|||||||
Name: tmux
|
Name: tmux
|
||||||
Version: 1.9a
|
Version: 1.9a
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A terminal multiplexer
|
Summary: A terminal multiplexer
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -9,6 +9,7 @@ Group: Applications/System
|
|||||||
License: ISC and BSD
|
License: ISC and BSD
|
||||||
URL: http://sourceforge.net/projects/tmux
|
URL: http://sourceforge.net/projects/tmux
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: tmux-fix-malloc-check-error.patch
|
||||||
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: libevent-devel
|
BuildRequires: libevent-devel
|
||||||
@ -21,6 +22,7 @@ as GNU Screen.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -54,6 +56,9 @@ fi
|
|||||||
%{_mandir}/man1/tmux.1.*
|
%{_mandir}/man1/tmux.1.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 26 2014 Filipe Rosset <rosset.filipe@gmail.com> 1.9a-2
|
||||||
|
- Fix rhbz #1069950, upstream [tmux:tickets] #105
|
||||||
|
|
||||||
* Sun Feb 23 2014 Filipe Rosset <rosset.filipe@gmail.com> 1.9a-1
|
* Sun Feb 23 2014 Filipe Rosset <rosset.filipe@gmail.com> 1.9a-1
|
||||||
- New upstream release 1.9a
|
- New upstream release 1.9a
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user