1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

s3-srvsvc: fix _srvsvc_NetShareAdd segfault.

parm_err is not a ref pointer.

Guenther
This commit is contained in:
Günther Deschner 2008-09-26 01:32:16 +02:00
parent da6c7aa2a1
commit f50ebbe29f

View File

@ -1700,7 +1700,9 @@ WERROR _srvsvc_NetShareAdd(pipes_struct *p,
DEBUG(5,("_srvsvc_NetShareAdd: %d\n", __LINE__));
*r->out.parm_error = 0;
if (r->out.parm_error) {
*r->out.parm_error = 0;
}
get_current_user(&user,p);