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

netapi: fix NetShareGetInfo_r.

Guenther
(This used to be commit b42408f54e)
This commit is contained in:
Günther Deschner
2008-09-10 10:13:55 +02:00
parent a780ed8970
commit 07585d9fb7

View File

@ -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;
}