git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] check for malloc

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 26, 2005, 18:25 UTC
Message-ID
<Pine.LNX.4.58.0504261125220.18901@ppc970.osdl.org>
In-Reply-To
<20050426151217.GA5344@64m.dyndns.org>
On Tue, 26 Apr 2005, Christopher Li wrote:
>
> Add check for NULL return from malloc and realloc
I'd prefer xmalloc()/xrealloc() instead, and just do it in one place.
		Linus
Previous: Christopher LiNext: Christopher Li
Message 2 of 3 in “check for malloc”
  1. check for mallocChristopher Li, Apr 26, 2005
  2. Linus TorvaldsApr 26, 2005
  3. Christopher LiApr 26, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.