Package: dhcp3-client Version: 3.0.2-3.0.1 Followup-For: Bug #321987 Attached patch fixes the problem for me. It seems to be caused by memcpy, which is kinda odd.. Maybe a wrong optimisation in memcpy or something.
-- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: sparc (sparc64) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-1-sparc64 Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages dhcp3-client depends on: ii debconf 1.4.58 Debian configuration management sy ii debianutils 2.14.2 Miscellaneous utilities specific t ii dhcp3-common 3.0.2-3.0.1 Common files used by all the dhcp3 ii libc6 2.3.5-3 GNU C Library: Shared libraries an dhcp3-client recommends no packages. -- no debconf information
--- dhcp3-3.0.2/common/packet.c 2004-11-24 18:39:16.000000000 +0100 +++ dhcp3-3.0.2.patched/common/packet.c 2005-08-29 17:14:16.000000000 +0200 @@ -231,6 +231,7 @@ unsigned len; unsigned ulen; int ignore = 0; + int i; ip = (struct ip *)(buf + bufix); udp = (struct udphdr *)(buf + bufix + ip_len); @@ -275,7 +276,10 @@ } /* Copy out the IP source address... */ - memcpy (&from -> sin_addr, &ip -> ip_src, 4); +// memcpy (&from -> sin_addr, &ip -> ip_src, 4); + for (i = 0; i < 4 ; i++) { + ((char *)(&from->sin_addr))[i] = ((char *)(&ip->ip_src))[i]; + } /* Compute UDP checksums, including the ``pseudo-header'', the UDP header and the data. If the UDP checksum field is zero, we're