1
0
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:
Günther Deschner 2008-09-10 10:13:55 +02:00
parent f4cb75b1e2
commit b42408f54e

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