[SCM] Samba Shared Repository - branch master updated

Ralph Böhme slow at samba.org
Fri Nov 28 05:31:03 MST 2014


The branch, master has been updated
       via  5747507 torture: Fix raw.open.chained-openx
      from  3121d6a test: Fix samba3.blackbox.net.registry.check

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 574750777ad47d733a45a72e7da83297e3faa897
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Nov 27 21:44:18 2014 +0100

    torture: Fix raw.open.chained-openx
    
    sizeof(buf) is 5. On FreeBSD10/clang this overwrites "ret". Not good.
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Fri Nov 28 13:30:18 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 679a7c2..616ba5c 100644
--- a/source4/torture/raw/open.c
+++ b/source4/torture/raw/open.c
@@ -1386,8 +1386,8 @@ static bool test_chained(struct torture_context *tctx, struct smbcli_state *cli)
 	io.openxreadx.in.timeout = 0;
 	
 	io.openxreadx.in.offset = 0;
-	io.openxreadx.in.mincnt = sizeof(buf);
-	io.openxreadx.in.maxcnt = sizeof(buf);
+	io.openxreadx.in.mincnt = sizeof(buf2);
+	io.openxreadx.in.maxcnt = sizeof(buf2);
 	io.openxreadx.in.remaining = 0;
 	io.openxreadx.out.data = (uint8_t *)buf2;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list