mirror of
https://github.com/samba-team/samba.git
synced 2025-11-13 08:23:49 +03:00
r5551: Protect against falling off the end of the name resolve order list
if a name is not found.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
328f37a3e8
commit
c23f767a9f
@@ -101,7 +101,7 @@ static struct composite_context *setup_next_method(struct composite_context *c)
|
||||
if (method) {
|
||||
req = method->send_fn(&state->name, c->event_ctx);
|
||||
}
|
||||
if (req == NULL) state->methods++;
|
||||
if (req == NULL && state->methods[0]) state->methods++;
|
||||
} while (!req && state->methods[0]);
|
||||
|
||||
if (req) {
|
||||
|
||||
Reference in New Issue
Block a user