Hello community,
here is the log from the commit of package libnscd
checked in at Thu Dec 7 20:51:53 CET 2006.
--------
--- libnscd/libnscd.changes 2006-10-05 14:35:24.000000000 +0200
+++ /mounts/work_src_done/STABLE/libnscd/libnscd.changes 2006-11-29 17:36:20.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Nov 29 17:36:02 CET 2006 - kukuk(a)suse.de
+
+- Update to version 2.0.2 (fix memory leak)
+
+-------------------------------------------------------------------
Old:
----
libnscd-2.0.1.tar.bz2
New:
----
libnscd-2.0.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libnscd.spec ++++++
--- /var/tmp/diff_new_pack.PSh3c0/_old 2006-12-07 20:51:26.000000000 +0100
+++ /var/tmp/diff_new_pack.PSh3c0/_new 2006-12-07 20:51:26.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package libnscd (Version 2.0.1)
+# spec file for package libnscd (Version 2.0.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,10 +11,10 @@
# norootforbuild
Name: libnscd
-License: LGPL
+License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: System/Libraries
Autoreqprov: on
-Version: 2.0.1
+Version: 2.0.2
Release: 1
Summary: Library to Allow Applications to Communicate with nscd
Source: libnscd-%{version}.tar.bz2
@@ -74,6 +74,8 @@
%{_mandir}/man3/nscd_flush_cache.3*
%changelog -n libnscd
+* Wed Nov 29 2006 - kukuk(a)suse.de
+- Update to version 2.0.2 (fix memory leak)
* Thu Oct 05 2006 - kukuk(a)suse.de
- Update to version 2.0.1 (Makefile fixes)
* Sat Jun 03 2006 - kukuk(a)suse.de
++++++ libnscd-2.0.1.tar.bz2 -> libnscd-2.0.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libnscd-2.0.1/ChangeLog new/libnscd-2.0.2/ChangeLog
--- old/libnscd-2.0.1/ChangeLog 2006-10-05 14:33:15.000000000 +0200
+++ new/libnscd-2.0.2/ChangeLog 2006-11-29 17:29:50.000000000 +0100
@@ -1,3 +1,9 @@
+2006-11-29 Thorsten Kukuk <kukuk(a)suse.de>
+
+ * release version 2.0.2
+
+ * src/libnscd.c (nscd_flush_cache): Fix memory leak.
+
2006-10-05 Thorsten Kukuk <kukuk(a)suse.de>
* release version 2.0.1
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libnscd-2.0.1/NEWS new/libnscd-2.0.2/NEWS
--- old/libnscd-2.0.1/NEWS 2006-10-05 14:33:26.000000000 +0200
+++ new/libnscd-2.0.2/NEWS 2006-11-29 17:30:23.000000000 +0100
@@ -4,6 +4,9 @@
Please send bug reports, questions and suggestions to <kukuk(a)thkukuk.de>.
+Version 2.0.2
+* Fix memory leak
+
Version 2.0.1
* Makefile fixes
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libnscd-2.0.1/configure new/libnscd-2.0.2/configure
--- old/libnscd-2.0.1/configure 2006-10-05 13:40:55.000000000 +0200
+++ new/libnscd-2.0.2/configure 2006-11-29 17:32:20.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for libnscd 2.0.1.
+# Generated by GNU Autoconf 2.60 for libnscd 2.0.2.
#
# Report bugs to <kukuk(a)suse.de>.
#
@@ -713,8 +713,8 @@
# Identity of this package.
PACKAGE_NAME='libnscd'
PACKAGE_TARNAME='libnscd'
-PACKAGE_VERSION='2.0.1'
-PACKAGE_STRING='libnscd 2.0.1'
+PACKAGE_VERSION='2.0.2'
+PACKAGE_STRING='libnscd 2.0.2'
PACKAGE_BUGREPORT='kukuk(a)suse.de'
ac_unique_file="src/libnscd.h"
@@ -1385,7 +1385,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libnscd 2.0.1 to adapt to many kinds of systems.
+\`configure' configures libnscd 2.0.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1455,7 +1455,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libnscd 2.0.1:";;
+ short | recursive ) echo "Configuration of libnscd 2.0.2:";;
esac
cat <<\_ACEOF
@@ -1560,7 +1560,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libnscd configure 2.0.1
+libnscd configure 2.0.2
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1574,7 +1574,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libnscd $as_me 2.0.1, which was
+It was created by libnscd $as_me 2.0.2, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2244,7 +2244,7 @@
# Define the identity of the package.
PACKAGE='libnscd'
- VERSION='2.0.1'
+ VERSION='2.0.2'
cat >>confdefs.h <<_ACEOF
@@ -20932,7 +20932,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libnscd $as_me 2.0.1, which was
+This file was extended by libnscd $as_me 2.0.2, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20985,7 +20985,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-libnscd config.status 2.0.1
+libnscd config.status 2.0.2
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libnscd-2.0.1/configure.in new/libnscd-2.0.2/configure.in
--- old/libnscd-2.0.1/configure.in 2006-10-05 13:40:26.000000000 +0200
+++ new/libnscd-2.0.2/configure.in 2006-11-29 17:32:11.000000000 +0100
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-AC_INIT(libnscd, 2.0.1, kukuk(a)suse.de, libnscd)
+AC_INIT(libnscd, 2.0.2, kukuk(a)suse.de, libnscd)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/libnscd.h])
AM_CONFIG_HEADER([config.h])
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libnscd-2.0.1/src/Makefile.am new/libnscd-2.0.2/src/Makefile.am
--- old/libnscd-2.0.1/src/Makefile.am 2006-10-05 13:22:19.000000000 +0200
+++ new/libnscd-2.0.2/src/Makefile.am 2006-11-29 17:30:03.000000000 +0100
@@ -12,7 +12,7 @@
include_HEADERS = libnscd.h
-libnscd_la_LDFLAGS = -version-info 1:1:0 \
+libnscd_la_LDFLAGS = -version-info 1:2:0 \
-Wl,--version-script=$(srcdir)/libnscd.map
lib_LTLIBRARIES = libnscd.la
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libnscd-2.0.1/src/Makefile.in new/libnscd-2.0.2/src/Makefile.in
--- old/libnscd-2.0.1/src/Makefile.in 2006-10-05 13:40:50.000000000 +0200
+++ new/libnscd-2.0.2/src/Makefile.in 2006-11-29 17:32:18.000000000 +0100
@@ -207,7 +207,7 @@
man_MANS = nscd_flush_cache.3
XMLS = nscd_flush_cache.3.xml
include_HEADERS = libnscd.h
-libnscd_la_LDFLAGS = -version-info 1:1:0 \
+libnscd_la_LDFLAGS = -version-info 1:2:0 \
-Wl,--version-script=$(srcdir)/libnscd.map
lib_LTLIBRARIES = libnscd.la
@@ -227,9 +227,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu src/Makefile
+ $(AUTOMAKE) --foreign src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libnscd-2.0.1/src/libnscd.c new/libnscd-2.0.2/src/libnscd.c
--- old/libnscd-2.0.1/src/libnscd.c 2006-09-21 16:23:38.000000000 +0200
+++ new/libnscd-2.0.2/src/libnscd.c 2006-11-29 17:27:17.000000000 +0100
@@ -121,9 +121,11 @@
{
int err = errno;
close (sock);
+ free (iov[1].iov_base);
errno = err;
return -1;
}
+ free (iov[1].iov_base);
/* Wait for ACK. Older nscd just closed the socket, ignore that. */
resp = 0; /* set to 0 for old nscd implementations. */
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org