Hello community, here is the log from the commit of package talk for openSUSE:Factory checked in at Mon Dec 21 14:25:43 CET 2009. -------- --- talk/talk.changes 2008-08-06 15:52:39.000000000 +0200 +++ /mounts/work_src_done/STABLE/talk/talk.changes 2009-10-16 22:09:14.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Oct 16 22:06:56 CEST 2009 - rschweikert@novell.com + +- fixed file descriptor leak on failure (bnc#544908) + netkit-ntalk-0.17-close_file_on_failure.patch + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- netkit-ntalk-0.17-close_file_on_failure.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ talk.spec ++++++ --- /var/tmp/diff_new_pack.I5UuC2/_old 2009-12-21 14:25:22.000000000 +0100 +++ /var/tmp/diff_new_pack.I5UuC2/_new 2009-12-21 14:25:22.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package talk (Version 0.17) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,13 +20,13 @@ Name: talk %define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services -License: BSD 3-Clause +License: BSD3c Group: Productivity/Networking/Talk/Clients BuildRequires: ncurses-devel Provides: nkitb:/usr/bin/talk AutoReqProv: on Version: 0.17 -Release: 684 +Release: 699 Summary: Talk Client for Chatting with Another User BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ @@ -40,6 +40,8 @@ Patch3: netkit-ntalk-%{version}-strip.diff Patch4: netkit-ntalk-%{version}-dont-resolve.patch Patch5: netkit-n%{name}-0.17-dots_in_usernames.patch +# PATCH-FIX-UPSTREAM netkit-ntalk-0.17-close_file_on_failure.patch +Patch6: netkit-ntalk-0.17-close_file_on_failure.patch %global ncursesw_config %(set -- %{_bindir}/ncursesw*-config; echo ${1}) %description @@ -50,9 +52,9 @@ %package server -License: BSD 3-Clause +License: BSD3c Version: 0.17 -Release: 684 +Release: 699 Summary: Talk Daemon to Chat with Another User Group: Productivity/Networking/Talk/Servers Requires: net-tools netcfg @@ -74,6 +76,7 @@ %patch3 %patch4 %patch5 +%patch6 %build CFLAGS="$RPM_OPT_FLAGS" ./configure ++++++ netkit-ntalk-0.17-close_file_on_failure.patch ++++++ Index: talkd/announce.c =================================================================== --- talkd/announce.c.orig +++ talkd/announce.c @@ -169,9 +169,11 @@ announce_proc(CTL_MSG *request, const ch return (PERMISSION_DENIED); } if (fstat(fd, &stbuf) < 0) { + close(fd); return (PERMISSION_DENIED); } if ((stbuf.st_mode&020) == 0) { + close(fd); return (PERMISSION_DENIED); } print_mesg(fd, request, remote_machine); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org