------- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-06 00:57 ------- us->u.id.length = 4; us->u.id.data = xallocc(4); memcpy(us->u.id.data, s->our_address, sizeof(struct in_addr));
That looks wrong as sizeof(struct in_addr) does not have to equal 4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28958