diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-11-11 02:38:54 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-11-11 02:38:54 +0000 |
commit | 5b6d9d4376ff163a4ee4b4e7a7939c56e5394ffb (patch) | |
tree | 2636f26ee14ce266c85790dc8414307b027c38a7 /source3/libsmb | |
parent | daa618991028862ba2c2d91fd4a83eeace46cd6a (diff) | |
download | samba-5b6d9d4376ff163a4ee4b4e7a7939c56e5394ffb.tar.gz samba-5b6d9d4376ff163a4ee4b4e7a7939c56e5394ffb.tar.bz2 samba-5b6d9d4376ff163a4ee4b4e7a7939c56e5394ffb.zip |
fixed a bug which caused nmbd to core dump. The problem was incorrect
parameters to cli_NetServerEnum()
(This used to be commit 628d5895aa8a6add1a76bcf2561d01881b7c8c63)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index b98f2fca69..66d54a9b99 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -352,8 +352,8 @@ BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype, if (cli_api(cli, PTR_DIFF(p,param), /* param count */ - 8, /*data count */ - 0, /* mprcount */ + 0, /*data count */ + 8, /* mprcount */ BUFFER_SIZE, /* mdrcount */ &rprcnt,&rdrcnt, param, NULL, |