Re: Advantages of crashing if someone is freeing NULL pointer.
From: Maciej W. Rozycki
Date: Mon Feb 03 2025 - 08:57:03 EST
On Fri, 31 Jan 2025, Amit wrote:
> If people here agree with me then I will also try to get free(NULL) to
> crash in the C library - I will talk to them and send a patch if they
> agree. But first, I wanted to see if people here agree with me or not.
ISO C requires that free(NULL) return with no action.
Maciej