From b42408f54ea61ad47f5a33085ab1532c67ceee83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 10 Sep 2008 10:13:55 +0200 Subject: [PATCH] netapi: fix NetShareGetInfo_r. Guenther --- source/lib/netapi/share.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/netapi/share.c b/source/lib/netapi/share.c index 27528953875..8b9124b5130 100644 --- a/source/lib/netapi/share.c +++ b/source/lib/netapi/share.c @@ -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; }