mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
netapi: fix NetShareGetInfo_r.
Guenther
This commit is contained in:
parent
f4cb75b1e2
commit
b42408f54e
@ -412,7 +412,7 @@ WERROR NetShareGetInfo_r(struct libnetapi_ctx *ctx,
|
||||
union srvsvc_NetShareInfo info;
|
||||
uint32_t num_entries = 0;
|
||||
|
||||
if (!r->in.net_name) {
|
||||
if (!r->in.net_name || !r->out.buffer) {
|
||||
return WERR_INVALID_PARAM;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user