[SCM] Samba Shared Repository - branch master updated
Jeremy Allison
jra at samba.org
Tue Dec 9 11:44:03 MST 2014
The branch, master has been updated
via 8c56989 torture: Fix raw.open.chained-ntcreatex
from 9bb0728 notify_inotify: Simplify inotify_dispatch
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 8c569893250f87baf2c0b887c0dea076ca8249cf
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 27 21:44:18 2014 +0100
torture: Fix raw.open.chained-ntcreatex
sizeof(buf) is 5. On FreeBSD10/clang this overwrites "ret". Not good.
Same as 574750777a
Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Jeremy Allison <jra at samba.org>
Autobuild-User(master): Jeremy Allison <jra at samba.org>
Autobuild-Date(master): Tue Dec 9 19:43:31 CET 2014 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source4/torture/raw/open.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c
index 616ba5c..d1c09bc 100644
--- a/source4/torture/raw/open.c
+++ b/source4/torture/raw/open.c
@@ -1722,8 +1722,8 @@ static bool test_chained_ntcreatex_readx(struct torture_context *tctx, struct sm
/* readx parameters */
io.ntcreatexreadx.in.offset = 0;
- io.ntcreatexreadx.in.mincnt = sizeof(buf);
- io.ntcreatexreadx.in.maxcnt = sizeof(buf);
+ io.ntcreatexreadx.in.mincnt = sizeof(buf2);
+ io.ntcreatexreadx.in.maxcnt = sizeof(buf2);
io.ntcreatexreadx.in.remaining = 0;
io.ntcreatexreadx.out.data = (uint8_t *)buf2;
--
Samba Shared Repository
More information about the samba-cvs
mailing list