Hacker News new | ask | show | jobs
by astrange 1570 days ago
The issue in C99 is:

> The lifetime of an allocated object extends from the allocation until the deallocation. Each such allocation shall yield a pointer to an object disjoint from any other object.

If the implementation of malloc is visible, then it can be inlined etc., and then you have to deal with the effects of this obviously not being true.

1 comments

It would have been better, if the writer had not used the word “object”.