From: havner Date: Mon, 17 Jul 2006 13:55:57 +0000 (+0000) Subject: - official fix X-Git-Tag: auto/th/samba-3_0_22-2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=61a9424a68842160b6428df40c510966f276bbca;p=packages%2Fsamba.git - official fix Changed files: samba-3.0-CAN-2006-3403.patch -> 1.1 --- diff --git a/samba-3.0-CAN-2006-3403.patch b/samba-3.0-CAN-2006-3403.patch new file mode 100644 index 0000000..e9c80a6 --- /dev/null +++ b/samba-3.0-CAN-2006-3403.patch @@ -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) {