Hello community,
here is the log from the commit of package samba for openSUSE:Factory
checked in at Thu Jan 14 16:08:08 CET 2010.
--------
--- samba/samba.changes 2010-01-07 12:54:32.000000000 +0100
+++ samba/samba.changes 2010-01-13 00:26:37.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Jan 12 22:55:44 UTC 2010 - lmuelle@suse.de
+
+- Free unused memory after a packet got processed; (bso#7020).
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ samba-doc.spec ++++++
--- /var/tmp/diff_new_pack.6FEjt4/_old 2010-01-14 16:06:15.000000000 +0100
+++ /var/tmp/diff_new_pack.6FEjt4/_new 2010-01-14 16:06:15.000000000 +0100
@@ -58,7 +58,7 @@
%endif
Url: http://www.samba.org/
Version: 3.4.4
-Release: 1
+Release: 2
License: GPLv3+
Summary: Samba Documentation
Group: Documentation/Other
@@ -369,10 +369,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%changelog
++++++ samba.spec ++++++
--- /var/tmp/diff_new_pack.6FEjt4/_old 2010-01-14 16:06:15.000000000 +0100
+++ /var/tmp/diff_new_pack.6FEjt4/_new 2010-01-14 16:06:15.000000000 +0100
@@ -63,7 +63,7 @@
Url: http://www.samba.org/
AutoReqProv: on
Version: 3.4.4
-Release: 1
+Release: 2
%ifarch ppc64
Obsoletes: samba-64bit
%endif
@@ -157,10 +157,10 @@
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package client
@@ -200,10 +200,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020
@@ -228,10 +228,10 @@
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%endif
@@ -259,10 +259,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%endif
@@ -289,10 +289,10 @@
--------
Jeremy Allison <jra at samba dot org>
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%if %{make_utils}
@@ -341,10 +341,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%if 0%{?suse_version} && 0%{?suse_version} < 1031
@@ -368,10 +368,10 @@
%if 0%{?suse_version} && 0%{?suse_version} < 1031
%description -n libsmbclient
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%else
@@ -413,10 +413,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n libnetapi0
@@ -435,10 +435,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n libnetapi-devel
@@ -458,10 +458,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%if 0%{?suse_version} && 0%{?suse_version} < 1031
@@ -480,10 +480,10 @@
%if 0%{?suse_version} && 0%{?suse_version} < 1031
%description -n libsmbsharemodes
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%else
@@ -517,10 +517,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%if %{make_ldapsmb}
@@ -541,10 +541,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n libtalloc-devel
@@ -564,10 +564,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n libtdb1
@@ -586,10 +586,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n libtdb-devel
@@ -609,10 +609,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n libwbclient0
@@ -631,10 +631,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n libwbclient-devel
@@ -654,10 +654,10 @@
--------
The Samba Team
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%package -n ldapsmb
@@ -666,7 +666,7 @@
Group: Productivity/Networking/Samba
AutoReqProv: on
Version: 1.34b
-Release: 274
+Release: 275
Requires: perl-ldap
%description -n ldapsmb
@@ -679,10 +679,10 @@
--------
Guenther Deschner <guenther at deschner dot de>
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%endif
@@ -705,10 +705,10 @@
--------
Steve French <sfrench at Samba dot org>
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
-Source Timestamp: 2267
+Source Timestamp: 2275
Branch : 3.4.4
%endif
++++++ build-source-timestamp ++++++
--- /var/tmp/diff_new_pack.6FEjt4/_old 2010-01-14 16:06:15.000000000 +0100
+++ /var/tmp/diff_new_pack.6FEjt4/_new 2010-01-14 16:06:15.000000000 +0100
@@ -1,2 +1,2 @@
-2267
+2275
Branch : 3.4.4
++++++ patches.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/samba.org/d5995eec7e5fd487b57b8805095ffbc74796411a new/patches/samba.org/d5995eec7e5fd487b57b8805095ffbc74796411a
--- old/patches/samba.org/d5995eec7e5fd487b57b8805095ffbc74796411a 1970-01-01 01:00:00.000000000 +0100
+++ new/patches/samba.org/d5995eec7e5fd487b57b8805095ffbc74796411a 2010-01-12 23:46:58.000000000 +0100
@@ -0,0 +1,30 @@
+commit d5995eec7e5fd487b57b8805095ffbc74796411a
+Author: Jeremy Allison
+Date: Wed Jan 6 13:11:00 2010 -0800
+
+ Second part of the fix for bug #7020 - smbd using 2G memory.
+
+ There was a second leak in the processing of the out_data.frag
+ prs_struct. It needs freeing once the current pdu has been returned
+ asynchronously.
+
+ Jeremy.
+
+Index: source3/rpc_server/srv_pipe_hnd.c
+===================================================================
+--- source3/rpc_server/srv_pipe_hnd.c.orig
++++ source3/rpc_server/srv_pipe_hnd.c
+@@ -890,6 +890,13 @@ static ssize_t read_from_internal_pipe(s
+ out:
+ (*is_data_outstanding) = prs_offset(&p->out_data.frag) > n;
+
++ if (p->out_data.current_pdu_sent == prs_offset(&p->out_data.frag)) {
++ /* We've returned everything in the out_data.frag
++ * so we're done with this pdu. Free it and reset
++ * current_pdu_sent. */
++ p->out_data.current_pdu_sent = 0;
++ prs_mem_free(&p->out_data.frag);
++ }
+ return data_returned;
+ }
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/samba.org/f6bd654a6c878111f0f0f4d07adb644fc3bbf224 new/patches/samba.org/f6bd654a6c878111f0f0f4d07adb644fc3bbf224
--- old/patches/samba.org/f6bd654a6c878111f0f0f4d07adb644fc3bbf224 1970-01-01 01:00:00.000000000 +0100
+++ new/patches/samba.org/f6bd654a6c878111f0f0f4d07adb644fc3bbf224 2010-01-12 23:54:11.000000000 +0100
@@ -0,0 +1,38 @@
+commit f6bd654a6c878111f0f0f4d07adb644fc3bbf224
+Author: Jeremy Allison
+Date: Tue Jan 5 14:34:00 2010 -0800
+
+ Fix bug #7020 - smbd using 2G memory.
+
+ When deferring an async pipe writeX and readX transfer
+ the outstanding request struct onto the conn struct. This
+ needs freeing after the packet is finally processed.
+
+ Jeremy.
+
+Index: source3/smbd/pipes.c
+===================================================================
+--- source3/smbd/pipes.c.orig
++++ source3/smbd/pipes.c
+@@ -326,6 +326,11 @@ static void pipe_write_andx_done(struct
+
+ done:
+ chain_reply(req);
++ /*
++ * We must free here as the ownership of req was
++ * moved to the connection struct in reply_pipe_write_and_X().
++ */
++ TALLOC_FREE(req);
+ }
+
+ /****************************************************************************
+@@ -431,4 +436,9 @@ static void pipe_read_andx_done(struct t
+
+ done:
+ chain_reply(req);
++ /*
++ * We must free here as the ownership of req was
++ * moved to the connection struct in reply_pipe_read_and_X().
++ */
++ TALLOC_FREE(req);
+ }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/series new/patches/series
--- old/patches/series 2010-01-07 12:49:30.000000000 +0100
+++ new/patches/series 2010-01-12 23:49:33.000000000 +0100
@@ -9,6 +9,8 @@
samba.org/2d063d077aed01f020352e859b766415fe094fa5 -p0 # FATE 302414. Backported from 3.5.x(master).
samba.org/e171c09c3bae678db68c3ded5765d602c8438e25 -p0 # FATE 302414. Backported from 3.5.x(master).
samba.org/3d72c96d125a9dd048cc9c358b01aa354a5afa66 -p0 # FATE 302414. Backported from 3.5.x(master).
+samba.org/f6bd654a6c878111f0f0f4d07adb644fc3bbf224 -p0 # bso 7020 part 1
+samba.org/d5995eec7e5fd487b57b8805095ffbc74796411a -p0 # bso 7020 part 2
# SuSE specific changes
# disabled -> WIP lmuelle
++++++ vendor-files.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor-files/tools/package-data new/vendor-files/tools/package-data
--- old/vendor-files/tools/package-data 2010-01-07 12:52:12.000000000 +0100
+++ new/vendor-files/tools/package-data 2010-01-13 00:25:11.000000000 +0100
@@ -1,2 +1,2 @@
# This is an autogenrated file.
-SAMBA_PACKAGE_SVN_VERSION="2267"
+SAMBA_PACKAGE_SVN_VERSION="2275"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org