News for hackers. Stuff that matters.
Re:Undefined behavior is often a thing for C programmers (2011) by armitron on Thursday September 03, 2020 @11:12PM (#24371352)
There is no undefined behavior in your example period.

The fread implementation sees dest as a void pointer and will access it going through char*, which is explicitly allowed.

There are no comments on this comment yet.