[PATCH] libbb:recv_from_to() - broken for IPv6 messages
Leonid Lisovskiy
lly.dev at gmail.com
Wed Nov 18 19:22:04 UTC 2009
I discover that recv_from_to() from libbb/udp_io.c use incorrect
assignment of in6_addr structure:
((struct sockaddr_in6*)to)->sin6_addr = ...
this bring unpredictable results in case of use this function to
process IPv6 messages. Trivial patch attached.
Regards,
Leonid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libbb_udp_io.patch
Type: text/x-patch
Size: 1009 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20091118/e46b5730/attachment.bin>
More information about the busybox
mailing list