https://bugzilla.mindrot.org/show_bug.cgi?id=2735
--- Comment #7 from [email protected] --- Created attachment 3019 --> https://bugzilla.mindrot.org/attachment.cgi?id=3019&action=edit Modified re-re-revised diff to not use htonl()/ntohl() anymore >From what I understand, data in the ssh buffer should live there in network byte order (big endian) and the preferred/canonical way to ensure this is with the PEEK_*()/POKE_*() macros. However, the original code used ntohl()/htonl() for this purpose instead. Doing both messes up the byte order again, so I tried your diff again without ntohl()/htonl() (see attachment) and it worked fine. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
