mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
r1583: Patch by Fabien Chevalier <fabien.chevalier@supelec.fr>
We may not have any interfaces up at all, so initialise the return variable. Fixes Debian bug #252591 Andrew Bartlett (This used to be commit 35aabae9d9bf66ef2c8eb4e07a850c606d8236d2)
This commit is contained in:
parent
2b90927fa3
commit
2e6f3398d6
@ -90,7 +90,7 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count)
|
||||
{
|
||||
int fd = -1;
|
||||
struct ip_service *address = NULL;
|
||||
struct in_addr *ret;
|
||||
struct in_addr *ret = NULL;
|
||||
int j, flags = 0;
|
||||
|
||||
if (!initialised) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user