Re:Conflating pointers with arrays: C's biggest mistake? (2009)
by bluecalm on Sunday July 22, 2018 @10:10AM
(#17586830)
To run into UB here you need to read struct's bytes as something else and then do calculations on them. UB or not it is asking for trouble. Why not just read field of the struct and use them to computer a hash?
[ Parent
| on HN ]
There are no comments on this comment yet.