News for hackers. Stuff that matters.
Re:The Byte Order Fiasco by raphlinus on Saturday May 08, 2021 @11:39PM (#27093024)
Yes, I was assuming it was char *, as in the OP, which can be signed. And any left shift of a negative quantity is UB in C (I'm not sure if this is fixed in recent C++), it doesn't have to be what's commonly thought of as overflow.

There are no comments on this comment yet.