On Fri, 2005-07-15 at 10:38 -0700, Roland Dreier wrote: > Tom> Hrm, my arping on Fedora Core 4 now does real bad stuff: > > Is it allocating a buffer as big as an ethernet address and then > trying to put a 20-byte IPoIB address in it?
It seems to be happening at line 479 of arping.c:
memset(he.sll_addr, -1, he.sll_halen);
where he.sll_addr is 8 big, he.sll_halen is 20
So, yeah.
BTW, FC4 compiles with -Wp,-D_FORTIFY_SOURCE=2 so it is now catching it.
Should struct sockaddr_ll be modified in include/linux/if_packet.h to
accommodate larger addresses?
-tduffy
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
