Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 802] New: os_common_find_running_interfaces() fails on NetBSD-5

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


abs at absd

Jan 8, 2009, 8:54 AM

Post #1 of 1 (595 views)
Permalink
[Bug 802] New: os_common_find_running_interfaces() fails on NetBSD-5

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=802
Summary: os_common_find_running_interfaces() fails on NetBSD-5
Product: Exim
Version: 4.69
Platform: x86
OS/Version: NetBSD
Status: NEW
Severity: bug
Priority: high
Component: Networking
AssignedTo: nigel[at]exim.org
ReportedBy: abs[at]absd.org
CC: exim-dev[at]exim.org


os_common_find_running_interfaces() can fail on NetBSD-5 in some cases as the
test for the data being >sizeof(addrbuf) (256) is triggered.

Increasing addrbuf to [512] works around this, but a better solution would be
to use the much cleaner getifaddrs() instead of the multiple ioctls()

Will attach a patch which increases addrbuf to [512], and adds an #ifdef
HAVE_GETIFADDRS (initially only enabled for NetBSD)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.