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

Re: [PATCH 03/23] http*: cleanup slot->local after fclose

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 5, 2009, 20:43 UTC
Message-ID
<m3vdna5s3d.fsf@localhost.localdomain>
In-Reply-To
<20090606000133.33101b1e.rctay89@gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
> Set slot->local to NULL after doing a fclose on the FILE* pointer it
> points to. This prevents an invalid FILE* pointer from being passed to
> ftell() in http.c::run_active_slot().
You mean here passing FILE* pointer to a fclosed file to ftell()?
> 
> This issue was raised by Clemens Buchacher on 30th May:
Just in case: 30th May 2009?
> 
>   http://www.spinics.net/lists/git/msg104623.html
> 
> Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Tay Ray ChuanNext: Tay Ray Chuan
Message 2 of 3 in “http*: cleanup slot->local after fclose”
  1. 03/23 http*: cleanup slot->local after fcloseTay Ray Chuan, Jun 5, 2009
  2. Jakub NarebskiJun 5, 2009
  3. Tay Ray ChuanJun 6, 2009

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.