ping6 segfault

Joerg Epping joerg.epping at googlemail.com
Tue Jan 29 08:16:21 UTC 2013


When implementing my own inet_ntop (taken from ntop.c) inside ping.c
from busybox everything works.
So it seems to be something between my uClibc and Busybox. At the
moment I can live with my "patch".

Regards,
Joerg

2013/1/28 Denys Vlasenko <vda.linux at googlemail.com>:
> On Mon, Jan 28, 2013 at 8:49 AM, Joerg Epping
>>> Can you experiment with printing &from->sin6_addr a-la
>>>
>>> bb_error_msg("from:%p &from->sin6_addr:%p", from, &from->sin6_addr);
>>>
>>> ?
>
>> Version without the memcpy patch: (sometimes it's working, but mostly
>> it crashes, but I am unable to print out the addresses when it
>> crashes)
>
>> This is really strange. The addresses seem to be ok.
>
> It means that the unaligned access is _elsewhere_.
>
> Add more debugging printouts.
> --
> vda


More information about the busybox mailing list