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 <[email protected]>
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 <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
Reviewed-by: Ira Cooper <[email protected]>
Autobuild-User(master): Jeremy Allison <[email protected]>
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