[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-2018-g44f762c
Andrew Bartlett
abartlet at samba.org
Thu Jun 4 05:11:15 GMT 2009
The branch, master has been updated
via 44f762c30d1aa709146f80da5fb786201df7e668 (commit)
from 4c70a5b405d2ee6b8a47118fd731a0fb64dda2ff (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 44f762c30d1aa709146f80da5fb786201df7e668
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 4 15:10:36 2009 +1000
s4:torture assert that we get a Mailslot allocated before we dereference
-----------------------------------------------------------------------
Summary of changes:
source4/torture/nbt/dgram.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c
index 8eb3151..568e9c3 100644
--- a/source4/torture/nbt/dgram.c
+++ b/source4/torture/nbt/dgram.c
@@ -341,6 +341,8 @@ static bool nbt_test_netlogon2(struct torture_context *tctx)
dgmslot = dgram_mailslot_temp(dgmsock, NBT_MAILSLOT_GETDC,
netlogon_handler, NULL);
+ torture_assert(tctx, dgmslot != NULL, "Error getting a Mailslot for GetDC reply");
+
ZERO_STRUCT(logon);
logon.command = LOGON_SAM_LOGON_REQUEST;
logon.req.logon.request_count = 0;
--
Samba Shared Repository
More information about the samba-cvs
mailing list