The Samba-Bugzilla – Attachment 7609 Details for
Bug 8910
resolve_ads() code can return zero addresses and miss valid DC IP addresses.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for 3.6.
init.patch (text/plain), 704 bytes, created by
Ira Cooper
on 2012-05-30 18:27:47 UTC
(
hide
)
Description:
Fix for 3.6.
Filename:
MIME Type:
Creator:
Ira Cooper
Created:
2012-05-30 18:27:47 UTC
Size:
704 bytes
patch
obsolete
>From fd2adc0396cc1fa51ea0763017716f27539b79f0 Mon Sep 17 00:00:00 2001 >From: Ira Cooper <ira@samba.org> >Date: Wed, 30 May 2012 14:22:01 -0400 >Subject: [PATCH] s3-dns: Add loop initialization. > >--- > source3/libsmb/namequery.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c >index d0ab62f..9b08619 100644 >--- a/source3/libsmb/namequery.c >+++ b/source3/libsmb/namequery.c >@@ -1934,6 +1934,8 @@ static NTSTATUS resolve_ads(const char *name, > > *return_count = 0; > >+ i = 0; >+ > while ( i < numdcs && (*return_count<numaddrs) ) { > /* If we don't have an IP list for a name, lookup it up */ > if (!dcs[i].ss_s) { >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review-
Actions:
View
Attachments on
bug 8910
:
7510
|
7511
|
7609
|
7610
|
7611