summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-cd
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba/patches/patch-cd')
-rw-r--r--net/samba/patches/patch-cd19
1 files changed, 0 insertions, 19 deletions
diff --git a/net/samba/patches/patch-cd b/net/samba/patches/patch-cd
deleted file mode 100644
index 9ec582287b8..00000000000
--- a/net/samba/patches/patch-cd
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-cd,v 1.2 2006/07/11 07:42:31 ghen Exp $
-
-Security patch from http://www.samba.org/samba/security/CAN-2006-3403.html
-(fixes a memory exhaustion DoS against smbd).
-
---- smbd/service.c.orig 2006-01-25 00:46:32.000000000 +0100
-+++ smbd/service.c
-@@ -763,6 +763,11 @@ connection_struct *make_connection(const
- 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) {