svn commit: samba r16799 - branches/SAMBA_3_0/source/rpc_server
trunk/source/rpc_server
gd at samba.org
gd at samba.org
Tue Jul 4 15:29:22 GMT 2006
Author: gd
Date: 2006-07-04 15:29:21 +0000 (Tue, 04 Jul 2006)
New Revision: 16799
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16799
Log:
Fix remote smbd crash bug by removing half-implemented info level 4
dfs_Enum.
Guenther
Modified:
branches/SAMBA_3_0/source/rpc_server/srv_dfs_nt.c
trunk/source/rpc_server/srv_dfs_nt.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_dfs_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_dfs_nt.c 2006-07-04 13:59:52 UTC (rev 16798)
+++ branches/SAMBA_3_0/source/rpc_server/srv_dfs_nt.c 2006-07-04 15:29:21 UTC (rev 16799)
@@ -304,14 +304,6 @@
r_u->info.e.u.info3.ptr0_s = 1;
r_u->info.e.u.info3.size_s = num_jn;
break;
- case 4:
- if ((r_u->info.e.u.info4.s = TALLOC_ARRAY(p->mem_ctx, NETDFS_DFS_INFO4, num_jn)) == NULL) {
- return WERR_NOMEM;
- }
- r_u->info.e.u.info4.count = num_jn;
- r_u->info.e.u.info4.ptr0_s = 1;
- r_u->info.e.u.info4.size_s = num_jn;
- break;
default:
return WERR_INVALID_PARAM;
}
Modified: trunk/source/rpc_server/srv_dfs_nt.c
===================================================================
--- trunk/source/rpc_server/srv_dfs_nt.c 2006-07-04 13:59:52 UTC (rev 16798)
+++ trunk/source/rpc_server/srv_dfs_nt.c 2006-07-04 15:29:21 UTC (rev 16799)
@@ -298,14 +298,6 @@
r_u->info.e.u.info3.ptr0_s = 1;
r_u->info.e.u.info3.size_s = num_jn;
break;
- case 4:
- if ((r_u->info.e.u.info4.s = TALLOC_ARRAY(p->mem_ctx, NETDFS_DFS_INFO4, num_jn)) == NULL) {
- return WERR_NOMEM;
- }
- r_u->info.e.u.info4.count = num_jn;
- r_u->info.e.u.info4.ptr0_s = 1;
- r_u->info.e.u.info4.size_s = num_jn;
- break;
default:
return WERR_INVALID_PARAM;
}
More information about the samba-cvs
mailing list