Isn’t -1 basically 0xffff which is a constant pointer? What am I missinterpreting?
If you call malloc(0) multiple times (without freeing in between) and get -1 each time, then the pointer is not unique.
If you call malloc(0) multiple times (without freeing in between) and get -1 each time, then the pointer is not unique.