[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2502030338010.41663@angie.orcam.me.uk>
Date: Mon, 3 Feb 2025 13:55:25 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...am.me.uk>
To: Amit <amitchoudhary0523@...il.com>
cc: linux-kernel@...r.kernel.org
Subject: Re: Advantages of crashing if someone is freeing NULL pointer.
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
Powered by blists - more mailing lists