diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_reg_nt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_reg_nt.c b/source3/rpc_server/srv_reg_nt.c index 47c8746b12..4cd824c9ef 100644 --- a/source3/rpc_server/srv_reg_nt.c +++ b/source3/rpc_server/srv_reg_nt.c @@ -331,7 +331,7 @@ WERROR _reg_query_value(pipes_struct *p, REG_Q_QUERY_VALUE *q_u, REG_R_QUERY_VAL DEBUG(5,("_reg_info: looking up value: [%s]\n", name)); - if ( !(regvals = TALLOC_P( p->mem_ctx, REGVAL_CTR )) ) + if ( !(regvals = TALLOC_ZERO_P( p->mem_ctx, REGVAL_CTR )) ) return WERR_NOMEM; /* Handle QueryValue calls on HKEY_PERFORMANCE_DATA */ @@ -536,6 +536,10 @@ WERROR _reg_enum_value(pipes_struct *p, REG_Q_ENUM_VALUE *q_u, REG_R_ENUM_VALUE status = WERR_NO_MORE_ITEMS; goto done; } + + if ( val->type == REG_MULTI_SZ ) { + + } DEBUG(10,("_reg_enum_value: retrieved value named [%s]\n", val->valuename)); |