git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a780ed8
)
netapi: fix NetShareGetInfo_r.
author
Günther Deschner
<gd@samba.org>
Wed, 10 Sep 2008 08:13:55 +0000
(10:13 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 11 Sep 2008 12:24:53 +0000
(14:24 +0200)
Guenther
(This used to be commit
b42408f54ea61ad47f5a33085ab1532c67ceee83
)
source3/lib/netapi/share.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/share.c
b/source3/lib/netapi/share.c
index 27528953875b21f5fa0e041ae9a686a22a53c32e..8b9124b5130136b925790fbcf06df238c657b7f0 100644
(file)
--- a/
source3/lib/netapi/share.c
+++ b/
source3/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;
}