Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
Otherwise a lot of information that is usually generated in the ndr_push remains
in an uninitialized state.
Guenther
|
|
unneeded prs_mem_free calls.
Jeremy.
Signed-off-by: Simo Sorce <idra@samba.org>
|
|
While there also cleanup the code a bit.
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
memcpy copies memory unconditionally, we are passing "" in some cases here.
Use strncpy which will stop reading from src if the null byte is found and
will fill with nulls the destination.
|
|
This makes it possible to use the samr rpc server in winbind without
linking in smbd.
Reviewed-by: Simo Sorce <idra@samba.org>
|