Hi,
I've just been looking at the man page for malloc as I was investigating a memory related problem and noticed the following that was relevent
If size, nelem, or elsize is 0, a unique pointer to the arena is returned.
What exactly does this mean? is it a valid pointer? I'm using a run-time memory checker and it is saying that the program is assigning a wild pointer.
I know this is obviously bad, and I've sorted it, but I've not heard of this before and wondered if any knew anything more?
Thanks in advance
Craig