Re:Systemd is bad parsing
by boardwaalk on Saturday October 27, 2018 @10:47AM
(#18315901)
The issue, I think, is when the swapping is done. If you cast raw bytes into a structure you can forget to swap. If you read fields individually with a helper functions that swap when needed, you can't.
Whether there's a endianness conditional anywhere there or not is a bit of pedantry, I think.
Whether there's a endianness conditional anywhere there or not is a bit of pedantry, I think.