summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-07-04 15:29:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:11 -0500
commitd1a9ac533be5d1c5b81371bd3181c4fd89e13d7d (patch)
treefb66b514da2e8c2c2ae0d67da4d3b3436c1c54e4 /source3
parent3dc4d79a446b9a38bea8faed95fbb26b054c3a10 (diff)
downloadsamba-d1a9ac533be5d1c5b81371bd3181c4fd89e13d7d.tar.gz
samba-d1a9ac533be5d1c5b81371bd3181c4fd89e13d7d.tar.bz2
samba-d1a9ac533be5d1c5b81371bd3181c4fd89e13d7d.zip
r16799: Fix remote smbd crash bug by removing half-implemented info level 4
dfs_Enum. Guenther (This used to be commit 4e5ea585c3482c38f2624e45f1268d3864a99faa)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_dfs_nt.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/rpc_server/srv_dfs_nt.c b/source3/rpc_server/srv_dfs_nt.c
index f04d8c37c3..8239584522 100644
--- a/source3/rpc_server/srv_dfs_nt.c
+++ b/source3/rpc_server/srv_dfs_nt.c
@@ -304,14 +304,6 @@ WERROR _dfs_Enum(pipes_struct *p, NETDFS_Q_DFS_ENUM *q_u, NETDFS_R_DFS_ENUM *r_u
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;
}