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

Re: [PATCH] Remove possible segfault in http-fetch.

From
NHNick Hengeveld <nickh@reactrix.com>
Date
May 31, 2006, 16:07 UTC
Message-ID
<20060531160731.GA12261@reactrix.com>
In-Reply-To
<7vverzzukg.fsf@assigned-by-dhcp.cox.net>
On Sun, May 21, 2006 at 12:49:19AM -0700, Junio C Hamano wrote:
Show 12 quoted lines
> curl_easy_cleanup() which is called from http_cleanup() says it
> is safe to remove the strings _after_ you call that function, so
> I think the change makes sense -- it was apparently unsafe to
> free them before calling cleanup.
> 
> Knowing nothing about quirks in curl libraries, one thing that
> is mystery to me is that we slist_append() to other two lists
> (pragma_header and range_header) but we do not seem to ever free
> them.  Another slist dav_headers is allocated and then freed
> inside a function, so that call-pattern seems well-formed.
> 
> Nick, care to help us out?

I just got back from a trip to the midwest and am still getting caught up. I was only gone for 10 days, you've all been quite busy...

You're correct wrt the other slists, I'll get to work on a patch for that after I've caught up.

I'm also doing additional testing to see whether this fixes the DAV/405 segfault as I think there may be something else going on there.

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
Previous: Junio C HamanoNext: Pavel Roskin
Message 5 of 6 in “Segfaults with USE_CURL_MULTI”
  1. Florian WeimerMay 20, 2006
  2. Remove possible segfault in http-fetch.Sean, May 20, 2006
  3. Florian WeimerMay 20, 2006
  4. Junio C HamanoMay 21, 2006
  5. Nick HengeveldMay 31, 2006
  6. Pavel RoskinMay 22, 2006

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.