[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Tue Mar 9 08:14:47 MST 2010


The branch, master has been updated
       via  48cdca0... s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
      from  8fd43f4... s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)

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


- Log -----------------------------------------------------------------
commit 48cdca0d474cc6ae6fa6be88580d5f2fbcb0dd84
Author: Günther Deschner <gd at samba.org>
Date:   Tue Mar 9 16:10:40 2010 +0100

    s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/rpc/spoolss.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 909c372..f83d3b5 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -3353,6 +3353,7 @@ static bool test_winreg_QueryValue(struct torture_context *tctx,
 	r.in.type = &type;
 	r.in.data_size = &data_size;
 	r.in.data_length = &data_length;
+	r.in.data = talloc_zero_array(tctx, uint8_t, *r.in.data_size);
 	r.out.type = &type;
 	r.out.data = talloc_zero_array(tctx, uint8_t, *r.in.data_size);
 	r.out.data_size = &data_size;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list