Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problem w/dhcpcd vs libsupc++.a on sparc?



On Mon, Apr 20, 2020 at 12:39:01PM -0500, John D. Baker wrote:
> #0  dhcp_handledhcp (ifp=0xedc1a2a0, bootp=0xefffd362, bootp_len=311, 
>     from=0xefffd320)
>     at /x/netbsd-9/src/external/bsd/dhcpcd/dist/src/dhcp.c:2891
> 2891		if (state->xid != ntohl(bootp->xid)) {
> (gdb) bt
> #0  dhcp_handledhcp (ifp=0xedc1a2a0, bootp=0xefffd362, bootp_len=311, 
>     from=0xefffd320)

bootp is misalinged, this needs a memcpy.

Martin


Home | Main Index | Thread Index | Old Index