Hello community,

here is the log from the commit of package tmux for openSUSE:Factory checked in 
at 2014-11-04 17:29:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tmux (Old)
 and      /work/SRC/openSUSE:Factory/.tmux.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tmux"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tmux/tmux.changes        2014-02-24 
10:02:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tmux.new/tmux.changes   2014-11-04 
17:29:47.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Nov  2 18:01:15 UTC 2014 - [email protected]
+
+- add tmux-fix-malloc-check-abort.patch in order to fix glibc
+  aborting on openSUSE Factory due toits MALLOC_CHECK_ settings
+  (http://sourceforge.net/p/tmux/tickets/105/, bnc#869950)
+
+-------------------------------------------------------------------

New:
----
  tmux-fix-malloc-check-abort.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tmux.spec ++++++
--- /var/tmp/diff_new_pack.wTQHpo/_old  2014-11-04 17:29:48.000000000 +0100
+++ /var/tmp/diff_new_pack.wTQHpo/_new  2014-11-04 17:29:48.000000000 +0100
@@ -27,6 +27,8 @@
 BuildRequires:  libevent-devel
 BuildRequires:  ncurses-devel
 Source:         %{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM tmux-fix-malloc-check-abort.patch 
http://sourceforge.net/p/tmux/tickets/105/ bnc#869950 [email protected] -- Fix 
glibc aborting with MALLOC_CHECK_=2
+Patch0:         tmux-fix-malloc-check-abort.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -43,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"

++++++ tmux-fix-malloc-check-abort.patch ++++++
>From 0bb9d51965f1920f303f8c9abd8133ce99d5818f Mon Sep 17 00:00:00 2001
From: Nicholas Marriott <[email protected]>
Date: Wed, 26 Feb 2014 21:42:59 +0000
Subject: [PATCH] Don't write into buffer if no arguments, reported by Filipe
 Rosset.

---
 cmd.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmd.c b/cmd.c
index 5e6b93a..a7a71a6 100644
--- a/cmd.c
+++ b/cmd.c
@@ -138,6 +138,9 @@ cmd_pack_argv(int argc, char **argv, char *buf, size_t len)
        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)
-- 
2.1.2

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to