]> git.pld-linux.org Git - packages/samba.git/blob - samba-3.0-CAN-2006-3403.patch
- one more (in ugly iconv search)
[packages/samba.git] / samba-3.0-CAN-2006-3403.patch
1 Index: source/smbd/service.c
2 ===================================================================
3 --- source/smbd/service.c       (revision 16676)
4 +++ source/smbd/service.c       (working copy)
5 @@ -763,6 +763,11 @@
6                 smb_panic("make_connection: PANIC ERROR. Called as nonroot\n");
7         }
8  
9 +       if (conn_num_open() > 2047) {
10 +               *status = NT_STATUS_INSUFF_SERVER_RESOURCES;
11 +               return NULL;
12 +       }
13 +
14         if(lp_security() != SEC_SHARE) {
15                 vuser = get_valid_user_struct(vuid);
16                 if (!vuser) {
This page took 0.020685 seconds and 3 git commands to generate.