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

Re: [PATCH/RFC] commit: fix memory-leak

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Feb 7, 2011, 18:48 UTC
Message-ID
<vpqei7jfzq5.fsf@bauges.imag.fr>
In-Reply-To
<1297104044-4684-1-git-send-email-kusmabite@gmail.com>
Erik Faye-Lund <kusmabite@gmail.com> writes:
> At the same time, this fixes a problem with strict-POSIX getenv
> implementations. POSIX says "The return value from getenv() may
> point to static data which may be overwritten by subsequent calls
> to getenv()", so duplicating the strings is a potential bug.
                  ^
                 not
?
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Erik Faye-LundNext: Erik Faye-Lund
Message 2 of 6 in “commit: fix memory-leak”
  1. commit: fix memory-leakErik Faye-Lund, Feb 7, 2011
  2. Matthieu MoyFeb 7, 2011
  3. Erik Faye-LundFeb 7, 2011
  4. commit: fix memory-leakErik Faye-Lund, Feb 7, 2011
  5. Erik Faye-LundFeb 7, 2011
  6. Erik Faye-LundFeb 7, 2011

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.