Re:Conflating pointers with arrays: C's biggest mistake? (2009)
by bluecalm on Sunday July 22, 2018 @10:18AM
(#17586874)
You don't need to set those bytes to 0 at all, why would you? The problem is that inside hash function you do incorrect type puning aka interpreting random bytes as numbers. Just read the fields and use their values for hashing.
[ Parent
| on HN ]
There are no comments on this comment yet.