On 2014-02-12 11:51, Martin Peach wrote:
It looks like a 64-bit issue. If it really crashes at
x->x_addr = ntohl(*(long *)hp->h_addr);
then possibly the long type is too long or the h_addr field is not a
long in 64-bit or h_addr is not properly initialized, so ntohl() looks
in the wrong place and segfaults. I never get any such crashes on 32-bit
systems, but so far I haven't tried it on 64-bit.




I just committed a change to tcpclient.c in svn that might fix it, changing long to uint32_t to make sure it accesses a 32-bit field.

Martin


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to