diff options
author | Günther Deschner <gd@samba.org> | 2006-07-04 15:29:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:11 -0500 |
commit | d1a9ac533be5d1c5b81371bd3181c4fd89e13d7d (patch) | |
tree | fb66b514da2e8c2c2ae0d67da4d3b3436c1c54e4 /source3/rpc_server | |
parent | 3dc4d79a446b9a38bea8faed95fbb26b054c3a10 (diff) | |
download | samba-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/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_dfs_nt.c | 8 |
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; } |