The Samba-Bugzilla – Attachment 11419 Details for
Bug 11503
Some interface configurations will core dump all samba utilities assertion in interfaces.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patches for ./lib/socket/interfaces.c
samba4_interface_diffs.txt (text/plain), 639 bytes, created by
Ian West
on 2015-09-09 06:28:52 UTC
(
hide
)
Description:
Patches for ./lib/socket/interfaces.c
Filename:
MIME Type:
Creator:
Ian West
Created:
2015-09-09 06:28:52 UTC
Size:
639 bytes
patch
obsolete
>--- ./lib/socket/interfaces.c.orig 2015-09-09 15:50:38.827459000 +0930 >+++ ./lib/socket/interfaces.c 2015-09-09 15:51:12.878779000 +0930 >@@ -150,6 +150,9 @@ > if (!(ifptr->ifa_flags & IFF_UP)) { > continue; > } >+ if (ifptr->ifa_addr->sa_family!=AF_INET && ifptr->ifa_addr->sa_family!=AF_INET6) { >+ continue; >+ } > count += 1; > } > >@@ -171,6 +174,11 @@ > continue; > } > >+ /* Check its actually an IP interface */ >+ if (ifptr->ifa_addr->sa_family!=AF_INET && ifptr->ifa_addr->sa_family!=AF_INET6) { >+ continue; >+ } >+ > memset(&ifaces[total], '\0', sizeof(ifaces[total])); > > copy_size = sizeof(struct sockaddr_in);
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
Actions:
View
Attachments on
bug 11503
: 11419