From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12455 invoked by alias); 6 Jun 2007 19:03:54 -0000 Received: (qmail 12446 invoked by uid 22791); 6 Jun 2007 19:03:53 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 06 Jun 2007 19:03:50 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hw0eI-0003W8-7A for ecos-discuss@sources.redhat.com; Wed, 06 Jun 2007 20:54:26 +0200 Received: from c-76-17-159-202.hsd1.mn.comcast.net ([76.17.159.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jun 2007 20:54:26 +0200 Received: from grante by c-76-17-159-202.hsd1.mn.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jun 2007 20:54:26 +0200 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Thu, 07 Jun 2007 08:49:00 -0000 Message-ID: References: <20070606155515.GC9682@lunn.ch> User-Agent: slrn/0.9.8.1 (Linux) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Memory leakage problem with GoAhead web server X-SW-Source: 2007-06/txt/msg00076.txt.bz2 On 2007-06-06, Grant Edwards wrote: > On 2007-06-06, John Mills wrote: > > Firstly, the goahead newsgroup is probably a good place to > look. There are a number of thread about memory leaks and how > to fix them. > > nttp://news.goahead.com/goahead.public.webserver > >> [http://sourceware.org/ml/ecos-discuss/2003-01/msg00045.html] I think I was referring to this problem from the above newsgroup: ________________________________________________________________________ Message-ID: <3AA29C31.385A367@attglobal.net> [...] I implemented this suggestion under Windows 2000 and now GoAhead traps when loading home.asp. Does not trap with a html page (vs. asp) (at least not with the one I tested with). Kris Blackmarr wrote: > The following was received directly from a developer in Sweden. GoAhead > has not yet tested the suggested fix. > > Memory leak in file webs.c, in case of "basic" authorization: > In function websParseRequest, 6 lines after following if-sentence: > if (gstricmp(wp->authType, T("basic")).. > > The struct element wp->authType is now filled with new alloced memory > without freeing the previous pointer. Suggest: > bfree(B_L, wp->authType); > > before the line: > > wp->authType = bstrdup(B_L, value); > > --Kris Blackmarr > GoAhead Software -- Grant Edwards grante Yow! In Newark the at laundromats are open 24 visi.com hours a day! -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss