<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/libdnet/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/libdnet/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 29 Jun 2015 18:23:49 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libdnet/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Switch from gethostbyname() to getaddrinfo()</title><link>https://sourceforge.net/p/libdnet/bugs/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Use of gethostbyname (in src/addr.c) may prevent the program from working properly on IPv6 systems. getaddrinfo should be used in preference.&lt;/p&gt;
&lt;p&gt;See also: &lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=990560" rel="nofollow"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=990560&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Scheck</dc:creator><pubDate>Mon, 29 Jun 2015 18:23:49 -0000</pubDate><guid>https://sourceforge.netc81a8d23a474be02ab597aff69e565d5276d19c0</guid></item><item><title>Updated config.guess and config.sub scripts required</title><link>https://sourceforge.net/p/libdnet/bugs/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When building on Debian kFreeBSD and DragonFly BSD, ./configure complains that it can't recognize the operating system and needs updated versions of config.guess|sub scripts [1]. Recent versions of automake(1.11) or autoreconf(2.68) will update these using the --force --install options, though I found it easier to simply use the latest versions from the git repo[2].&lt;/p&gt;
&lt;p&gt;If you could update these, it would be much appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;
&lt;p&gt;[1] &lt;a href="http://www.gnu.org/s/hello/manual/automake/Auxiliary-Programs.html#Auxiliary-Programs" rel="nofollow"&gt;http://www.gnu.org/s/hello/manual/automake/Auxiliary-Programs.html#Auxiliary-Programs&lt;/a&gt;&lt;br /&gt;
[2] &lt;a href="http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree" rel="nofollow"&gt;http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tony</dc:creator><pubDate>Fri, 26 Aug 2011 14:04:18 -0000</pubDate><guid>https://sourceforge.net3b2217a95d3a728e9a1809ce2c52a97740327ba7</guid></item><item><title>ip_checksum() segfaults when payload is 0 or 1 bytes</title><link>https://sourceforge.net/p/libdnet/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The ip_cksum_add() function (called by the exported function "ip_checksum()") has a bug: Duff's device, used here for loop unrolling, assumes at least 1 iteration.&lt;br /&gt;
In the case of the length of the payload being 0 or 1 bytes, the number of iterations will be 0.  This will cause "cksum += *sp++" 16 times, whereas it should not have been executed at all.  Thus, the code will walk off the end of the buffer, and possibly onto another memory page.&lt;/p&gt;
&lt;p&gt;The worst is that a segfault will occur.  The best is that an incorrect checsksum will be generated.  The absolute best is if the 16 bytes of memory following the passed-in buffer are mapped, and zero, then the correct checksum will be generated.&lt;/p&gt;
&lt;p&gt;The fix is to add a conditional around the switch() statement such that the cases are not executed unless len &amp;gt; 1.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 24 Aug 2009 18:37:27 -0000</pubDate><guid>https://sourceforge.net29d392a7e0a2d43631e9ed192d561b0ede8fc0aa</guid></item><item><title>missing prerequisite headers?</title><link>https://sourceforge.net/p/libdnet/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying to configure 1.11 on OSX 10.5.2, and experienced a number of warnings about missing headers.&lt;/p&gt;
&lt;p&gt;configure: WARNING: net/if.h: present but cannot be compiled&lt;br /&gt;
configure: WARNING: net/if.h:     check for missing prerequisite headers?&lt;br /&gt;
configure: WARNING: net/if.h: see the Autoconf documentation&lt;br /&gt;
configure: WARNING: net/if.h:     section "Present But Cannot Be Compiled"&lt;br /&gt;
configure: WARNING: net/if.h: proceeding with the preprocessor's result&lt;br /&gt;
configure: WARNING: net/if.h: in the future, the compiler will take precedence&lt;/p&gt;
&lt;p&gt;configure: WARNING: netinet/in_var.h: present but cannot be compiled&lt;br /&gt;
configure: WARNING: netinet/in_var.h:     check for missing prerequisite headers?&lt;br /&gt;
configure: WARNING: netinet/in_var.h: see the Autoconf documentation&lt;br /&gt;
configure: WARNING: netinet/in_var.h:     section "Present But Cannot Be Compiled"&lt;br /&gt;
configure: WARNING: netinet/in_var.h: proceeding with the preprocessor's result&lt;br /&gt;
configure: WARNING: netinet/in_var.h: in the future, the compiler will take precedence&lt;/p&gt;
&lt;p&gt;configure: WARNING: netinet/ip_fw.h: present but cannot be compiled&lt;br /&gt;
configure: WARNING: netinet/ip_fw.h:     check for missing prerequisite headers?&lt;br /&gt;
configure: WARNING: netinet/ip_fw.h: see the Autoconf documentation&lt;br /&gt;
configure: WARNING: netinet/ip_fw.h:     section "Present But Cannot Be Compiled"&lt;br /&gt;
configure: WARNING: netinet/ip_fw.h: proceeding with the preprocessor's result&lt;br /&gt;
configure: WARNING: netinet/ip_fw.h: in the future, the compiler will take precedence&lt;/p&gt;
&lt;p&gt;Is this libdnet, missing library or is it OSX related (does libdnet still work with Leopard as it looks as if Apple is using a new firewall app).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asgr</dc:creator><pubDate>Mon, 26 May 2008 09:31:47 -0000</pubDate><guid>https://sourceforge.neta7b5797a79b8ef66d8e561ef9d24f9ddcadd00c9</guid></item><item><title>configure failed on Fedora Core 6</title><link>https://sourceforge.net/p/libdnet/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;checking how to run the C++ preprocessor... /lib/cpp&lt;br /&gt;
configure: error: C++ preprocessor "/lib/cpp" fails sanity check&lt;/p&gt;
&lt;p&gt;(as reported by ./configure &amp;amp;&amp;amp; make)&lt;br /&gt;
BLAG60001 distro&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 19 Aug 2007 19:13:22 -0000</pubDate><guid>https://sourceforge.net125ef99a2d4a6b6a39335516d51952e5b4e329f7</guid></item><item><title>mispackaged libdnet 1.12</title><link>https://sourceforge.net/p/libdnet/bugs/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The 1.12 tarball has a copy of trunk inside of it.  So, you end up with libdnet-1.12/src and libdnet-1.12/trunk/src .  Funky!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeff Nathan</dc:creator><pubDate>Tue, 03 Jul 2007 22:20:13 -0000</pubDate><guid>https://sourceforge.netf55a7e10285aee394309175a61d327273e8150d2</guid></item><item><title>No library suffix on SUSE 10.2</title><link>https://sourceforge.net/p/libdnet/bugs/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For some reason, when I compile libdnet on SUSE 10.2 &lt;br /&gt;
(On my alpha system and on SUSE's buildservers), the &lt;br /&gt;
libraries have no suffix. Here's a snippet of make install &lt;br /&gt;
output:&lt;/p&gt;
&lt;p&gt;mkdir -p -- /var/tmp/libdnet-root/usr/lib&lt;br /&gt;
/bin/sh ../libtool --mode=install /usr/bin/install -c&lt;br /&gt;
libdnet.la /var/tmp/libdnet-root/usr/lib/libdnet.la&lt;br /&gt;
/usr/bin/install -c .libs/libdnet.1.0.1 /var/tmp/libdnet-root/usr/lib/libdnet.1.0.1&lt;br /&gt;
(cd /var/tmp/libdnet-root/usr/lib &amp;amp;&amp;amp; rm -f libdnet.1 &amp;amp;&amp;amp; ln -s &lt;br /&gt;
libdnet.1.0.1 libdnet.1)&lt;br /&gt;
(cd /var/tmp/libdnet-root/usr/lib &amp;amp;&amp;amp; rm -f libdnet &amp;amp;&amp;amp; ln -s &lt;br /&gt;
libdnet.1.0.1 libdnet)&lt;br /&gt;
/usr/bin/install -c .libs/libdnet.lai /var/tmp/libdnet-root/usr/lib/libdnet.la&lt;br /&gt;
/usr/bin/install -c .libs/libdnet.a /var/tmp/libdnet-root/usr/lib/libdnet.a&lt;/p&gt;
&lt;p&gt;Note the lack of '.so' in any of those filenames.&lt;/p&gt;
&lt;p&gt;The libtool version is 1.5 22.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Oakley</dc:creator><pubDate>Wed, 06 Sep 2006 16:00:21 -0000</pubDate><guid>https://sourceforge.netba4faf0bb4639d64ec5e71a82e6b7286e532ef5d</guid></item><item><title>dnet 1.11 for python crashes under XP SP2</title><link>https://sourceforge.net/p/libdnet/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have have had a number of crashes under Windows XP&lt;br /&gt;
with SP 2. My machine has a number of interfaces,&lt;br /&gt;
including 802.11, 802.3, and VMWare interfaces. Eth2 is&lt;br /&gt;
a connected Broadcom NetXtreme Gigabit adapter.&lt;/p&gt;
&lt;p&gt;Here is the simplest crash in python 2.4.3&lt;/p&gt;
&lt;p&gt;import dnet&lt;br /&gt;
for a in dnet.intf(): print a&lt;/p&gt;
&lt;p&gt;Crash.&lt;/p&gt;
&lt;p&gt;if I use pcap, I can find an interface:&lt;/p&gt;
&lt;p&gt;import pcap&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;gt; a = pcap.pcap()&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; print a.name&lt;br /&gt;
eth2&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; print a.readpkts()&lt;br /&gt;
[(1144789999.9557691, &amp;lt;read-only buffer ptr 0x010AF2AC,&lt;br /&gt;
size 60 at 0x009EB1A0&amp;gt;),&lt;br /&gt;
(1144789999.96422, &amp;lt;read-only buffer ptr 0x010AF2FC,&lt;br /&gt;
size 60 at 0x009EB200&amp;gt;), ( ...&lt;/p&gt;
&lt;p&gt;works fine.&lt;/p&gt;
&lt;p&gt;I can't use the interface name with dnet to get an&lt;br /&gt;
interface:&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&amp;gt; import dnet&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; a = dnet.eth('eth2')&lt;/p&gt;
&lt;p&gt;Crash.&lt;/p&gt;
&lt;p&gt;In case it helps, here is the stack trace when it dies.&lt;br /&gt;
from windbg formated: frame #, three raw args, function&lt;br /&gt;
info&lt;/p&gt;
&lt;p&gt;00 7c8633d5 00000002 0021f074 ntdll!KiFastSystemCallRet&lt;br /&gt;
(FPO: [0,0,0])&lt;br /&gt;
01 00000002 0021f074 00000001&lt;br /&gt;
ntdll!ZwWaitForMultipleObjects+0xc (FPO: [5,0,0])&lt;br /&gt;
02 0021f28c 00000000 00000000&lt;br /&gt;
kernel32!UnhandledExceptionFilter+0x82d (FPO: [Non-Fpo])&lt;br /&gt;
03 00000000 0021f28c 7c34246e MSVCR71!_XcptFilter+0x15f&lt;br /&gt;
(FPO: [Non-Fpo])&lt;br /&gt;
WARNING: Stack unwind information not available.&lt;br /&gt;
Following frames may be wrong.&lt;br /&gt;
04 00000014 00000000 7ffdf000 python+0x11d2&lt;br /&gt;
05 1d001062 00000000 78746341&lt;br /&gt;
kernel32!BaseProcessStart+0x23 (FPO: [Non-Fpo])&lt;/p&gt;
&lt;p&gt;dnet.arp() provides a loop that gives me correct&lt;br /&gt;
arptable info.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Jesse&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 11 Apr 2006 21:49:21 -0000</pubDate><guid>https://sourceforge.nete0e6248910f88bda5c3957b539763ff6d5dcd50e</guid></item><item><title>bug in intf-win32.c</title><link>https://sourceforge.net/p/libdnet/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;static void&lt;br /&gt;
_ifcombo_add(struct ifcombo *ifc, DWORD idx)&lt;br /&gt;
{&lt;br /&gt;
if (ifc-&amp;gt;cnt == ifc-&amp;gt;max) {&lt;br /&gt;
if (ifc-&amp;gt;idx) {&lt;br /&gt;
ifc-&amp;gt;max *= 2;&lt;br /&gt;
ifc-&amp;gt;idx = realloc(ifc-&amp;gt;idx,&lt;br /&gt;
sizeof(ifc-&amp;gt;idx[0] * ifc-&lt;br /&gt;
&amp;gt;max));&lt;br /&gt;
} else {&lt;br /&gt;
ifc-&amp;gt;max = 8;&lt;br /&gt;
ifc-&amp;gt;idx = malloc(sizeof(ifc-&lt;br /&gt;
&amp;gt;idx[0] * ifc-&amp;gt;max));&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
ifc-&amp;gt;idx[ifc-&amp;gt;cnt++] = idx;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;error:&lt;br /&gt;
ifc-&amp;gt;idx = realloc(ifc-&amp;gt;idx, sizeof(ifc-&amp;gt;idx[0] * ifc-&lt;br /&gt;
&amp;gt;max));&lt;br /&gt;
ifc-&amp;gt;idx = malloc(sizeof(ifc-&amp;gt;idx[0] * ifc-&amp;gt;max));&lt;/p&gt;
&lt;p&gt;ok:&lt;br /&gt;
ifc-&amp;gt;idx = realloc(ifc-&amp;gt;idx,(sizeof(ifc-&amp;gt;idx[0]) * &lt;br /&gt;
ifc-&amp;gt;max));&lt;br /&gt;
ifc-&amp;gt;idx = malloc(sizeof(ifc-&amp;gt;idx[0]) * ifc-&amp;gt;max);&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 11 Apr 2006 01:06:03 -0000</pubDate><guid>https://sourceforge.nete1215d7243a8c0cde3fd70a355db45fcb57053f2</guid></item><item><title>configure fails on RH ES4</title><link>https://sourceforge.net/p/libdnet/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;problem with __cplusplus &lt;/p&gt;
&lt;p&gt;what details do you need in order to help me get &lt;br /&gt;
through this?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wkenzie</dc:creator><pubDate>Mon, 27 Feb 2006 21:24:01 -0000</pubDate><guid>https://sourceforge.netb7053bf360d816c8a1463d331a49eeb95dcbdfdc</guid></item></channel></rss>