[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Sat Feb 27 04:26:02 UTC 2016
The branch, master has been updated
via 9dfd531 s3/libsmb/clirap2.c: use actual buffer size
from bba426d smbXsrv_open: factor fetch-locking of local record into function
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9dfd531c19d3ffd17c4b8ecf6ad9eb1ab246ae5d
Author: Aurelien Aptel <aaptel at suse.com>
Date: Thu Feb 25 14:39:10 2016 +0100
s3/libsmb/clirap2.c: use actual buffer size
data used to be a stack allocated array but was changed to a heap
allocated buffer by commit 95a81a3. Update sizeof(data) to data_size.
Signed-off-by: Aurelien Aptel <aaptel at suse.com>
Reviewed-by: Jeremy Allison <jra at samba.org>
Reviewed-by: Ira Cooper <ira at samba.org>
Autobuild-User(master): Jeremy Allison <jra at samba.org>
Autobuild-Date(master): Sat Feb 27 05:25:40 CET 2016 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/clirap2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c
index 931bc23..6c49363 100644
--- a/source3/libsmb/clirap2.c
+++ b/source3/libsmb/clirap2.c
@@ -331,7 +331,7 @@ int cli_NetGroupAdd(struct cli_state *cli, struct rap_group_info_1 *grinfo)
if (cli_api(cli,
param, sizeof(param), 1024, /* Param, length, maxlen */
- data, soffset, sizeof(data), /* data, length, maxlen */
+ data, soffset, data_size, /* data, length, maxlen */
&rparam, &rprcnt, /* return params, length */
&rdata, &rdrcnt)) /* return data, length */
{
--
Samba Shared Repository
More information about the samba-cvs
mailing list