Hello community,
here is the log from the commit of package samba for openSUSE:Factory checked in at 2014-09-05 12:59:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/samba (Old)
and /work/SRC/openSUSE:Factory/.samba.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "samba"
Changes:
--------
--- /work/SRC/openSUSE:Factory/samba/samba.changes 2014-08-28 21:05:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.samba.new/samba.changes 2014-09-05 13:00:04.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug 28 10:03:21 UTC 2014 - ddiss@suse.com
+
+- fix FSCTL_SET_SPARSE request validation; (bso#10787); (bnc#893774).
+
+-------------------------------------------------------------------
@@ -9 +14,2 @@
-- build: disable mmap on s390 systems; (bso#10765); (bnc#886193).
+- build: disable mmap on s390 systems; (bso#10765); (bnc#886193);
+ (bnc#882356).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ samba.spec ++++++
--- /var/tmp/diff_new_pack.MXyRHy/_old 2014-09-05 13:00:06.000000000 +0200
+++ /var/tmp/diff_new_pack.MXyRHy/_new 2014-09-05 13:00:06.000000000 +0200
@@ -145,7 +145,7 @@
%else
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
-%define SOURCE_TIMESTAMP 3280
+%define SOURCE_TIMESTAMP 3283
%define BRANCH %{version}
%global with_mitkrb5 1
%global with_dc 0
++++++ patches.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/samba.org/0751495b1327d002b79482632b7c590cae6e3f9d new/patches/samba.org/0751495b1327d002b79482632b7c590cae6e3f9d
--- old/patches/samba.org/0751495b1327d002b79482632b7c590cae6e3f9d 1970-01-01 01:00:00.000000000 +0100
+++ new/patches/samba.org/0751495b1327d002b79482632b7c590cae6e3f9d 2014-08-28 12:05:56.000000000 +0200
@@ -0,0 +1,43 @@
+From 0751495b1327d002b79482632b7c590cae6e3f9d Mon Sep 17 00:00:00 2001
+From: David Disseldorp
+Date: Wed, 27 Aug 2014 15:42:00 +0200
+Subject: [PATCH] dosmode: fix FSCTL_SET_SPARSE request validation
+
+Check that FSCTL_SET_SPARSE requests does not refer to directories. Also
+reject such requests when issued over IPC or printer share connections.
+
+Bug: https://bugzilla.samba.org/show_bug.cgi?id=10787
+
+Signed-off-by: David Disseldorp
+Reviewed-by: Jeremy Allison
+
+Autobuild-User(master): Jeremy Allison
+Autobuild-Date(master): Thu Aug 28 04:22:37 CEST 2014 on sn-devel-104
+---
+ source3/smbd/dosmode.c | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
+
+Index: source3/smbd/dosmode.c
+===================================================================
+--- source3/smbd/dosmode.c.orig
++++ source3/smbd/dosmode.c
+@@ -1017,6 +1017,19 @@ NTSTATUS file_set_sparse(connection_stru
+ return NT_STATUS_ACCESS_DENIED;
+ }
+
++ if (fsp->is_directory) {
++ DEBUG(9, ("invalid attempt to %s sparse flag on dir %s\n",
++ (sparse ? "set" : "clear"),
++ smb_fname_str_dbg(fsp->fsp_name)));
++ return NT_STATUS_INVALID_PARAMETER;
++ }
++
++ if (IS_IPC(conn) || IS_PRINT(conn)) {
++ DEBUG(9, ("attempt to %s sparse flag over invalid conn\n",
++ (sparse ? "set" : "clear")));
++ return NT_STATUS_INVALID_PARAMETER;
++ }
++
+ DEBUG(10,("file_set_sparse: setting sparse bit %u on file %s\n",
+ sparse, smb_fname_str_dbg(fsp->fsp_name)));
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/series new/patches/series
--- old/patches/series 2014-08-19 15:55:47.000000000 +0200
+++ new/patches/series 2014-08-28 12:03:07.000000000 +0200
@@ -90,6 +90,7 @@
samba.org/2685df1177ffd39b1af34eb116bd7b24d4b12974 -p0 # bso 10652, bnc 883870
samba.org/2706af4d78fc9a47a4ac45b373edf276e3a9b354 -p0 # bso 10652, bnc 883870
samba.org/1ad71f79eb473822d36d9629cf52c2fca4c53752 -p0 # bso 10652, bnc 883870
+samba.org/0751495b1327d002b79482632b7c590cae6e3f9d -p0 # bso 10787, bnc 893774
samba.org/fix_pc_dependencies.diff -p0
# SuSE specific changes
++++++ 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 2014-08-19 16:34:58.000000000 +0200
+++ new/vendor-files/tools/package-data 2014-08-28 12:07:53.000000000 +0200
@@ -1,2 +1,2 @@
# This is an autogenrated file.
-SAMBA_PACKAGE_SVN_VERSION="3280"
+SAMBA_PACKAGE_SVN_VERSION="3283"
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org