You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was skimming through tb_userspace.c and noticed a lot of numeric constants
with a hard-coded little-endian byte order.
For example, 0x0220 is used to match "2002", which will certainly fail on any
big-endian architecture. Instead, you should match against htons(0x2002).
This bug exists all throughout the code.
For a reference on network programming, see:
http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html
Original issue reported on code.google.com by [email protected] on 10 Dec 2010 at 3:30
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 10 Dec 2010 at 3:30The text was updated successfully, but these errors were encountered: