]> git.pld-linux.org Git - packages/samba.git/commitdiff
- official fix auto/th/samba-3_0_22-2
authorhavner <havner@pld-linux.org>
Mon, 17 Jul 2006 13:55:57 +0000 (13:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    samba-3.0-CAN-2006-3403.patch -> 1.1

samba-3.0-CAN-2006-3403.patch [new file with mode: 0644]

diff --git a/samba-3.0-CAN-2006-3403.patch b/samba-3.0-CAN-2006-3403.patch
new file mode 100644 (file)
index 0000000..e9c80a6
--- /dev/null
@@ -0,0 +1,16 @@
+Index: source/smbd/service.c
+===================================================================
+--- source/smbd/service.c      (revision 16676)
++++ source/smbd/service.c      (working copy)
+@@ -763,6 +763,11 @@
+               smb_panic("make_connection: PANIC ERROR. Called as nonroot\n");
+       }
++      if (conn_num_open() > 2047) {
++              *status = NT_STATUS_INSUFF_SERVER_RESOURCES;
++              return NULL;
++      }
++
+       if(lp_security() != SEC_SHARE) {
+               vuser = get_valid_user_struct(vuid);
+               if (!vuser) {
This page took 0.116184 seconds and 4 git commands to generate.