Hello community,
here is the log from the commit of package socat for openSUSE:Factory
checked in at Thu Apr 21 13:43:57 CEST 2011.
--------
--- socat/socat.changes 2010-08-02 14:10:18.000000000 +0200
+++ /mounts/work_src_done/STABLE/socat/socat.changes 2011-02-02 18:24:17.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Feb 2 18:23:27 CET 2011 - meissner@suse.de
+
+- Handle case where a AF_LOCAL socket has no name. bnc#668319
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
socat-unixsalen.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ socat.spec ++++++
--- /var/tmp/diff_new_pack.IvA7tX/_old 2011-04-21 13:43:42.000000000 +0200
+++ /var/tmp/diff_new_pack.IvA7tX/_new 2011-04-21 13:43:42.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package socat (Version 1.7.1.3)
+# spec file for package socat
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Pascal Bleser
#
# All modifications and additions to the file contributed by third parties
@@ -22,12 +22,13 @@
Name: socat
BuildRequires: openssl-devel procps readline-devel tcpd-devel
Version: 1.7.1.3
-Release: 1
+Release: 6
License: BSD3c ; GPLv2+
Group: Productivity/Networking/Other
Url: http://www.dest-unreach.org/socat/
Summary: Multipurpose relay for bidirectional data transfer
Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
+Patch0: socat-unixsalen.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -40,6 +41,7 @@
%prep
%setup
+%patch0 -p1
%build
%{?suse_update_config:%{suse_update_config -f}}
@@ -68,4 +70,5 @@
%{_bindir}/procan
%{_bindir}/filan
%{_mandir}/man1/socat.1%{ext_man}
+
%changelog
++++++ socat-unixsalen.patch ++++++
Index: socat-1.7.1.2/sysutils.c
===================================================================
--- socat-1.7.1.2.orig/sysutils.c
+++ socat-1.7.1.2/sysutils.c
@@ -215,10 +215,14 @@ char *sockaddr_unix_info(const struct so
} else
#endif /* WITH_ABSTRACT_UNIXSOCKET */
{
- nextc =
- sanitize_string(sa->sun_path,
+ if (salen <= XIOUNIXSOCKOVERHEAD) {
+ nextc = sanitize_string ("<anon>", MIN(UNIX_PATH_MAX, strlen("<anon>")),
+ ubuff, XIOSAN_DEFAULT_BACKSLASH_OCT_3);
+ } else {
+ nextc = sanitize_string(sa->sun_path,
MIN(UNIX_PATH_MAX, strlen(sa->sun_path)),
ubuff, XIOSAN_DEFAULT_BACKSLASH_OCT_3);
+ }
*nextc = '\0';
strncpy(buff, ubuff, blen);
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org