From: Grant Edwards <grante@visi.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Re: Memory leakage problem with GoAhead web server
Date: Thu, 07 Jun 2007 08:49:00 -0000 [thread overview]
Message-ID: <f46vlv$2er$1@sea.gmane.org> (raw)
In-Reply-To: <f46n3e$n8$1@sea.gmane.org>
On 2007-06-06, Grant Edwards <grante@visi.com> wrote:
> On 2007-06-06, John Mills <johnmills@speakeasy.net> 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
prev parent reply other threads:[~2007-06-06 19:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 16:07 [ECOS] " John Mills
2007-06-06 16:24 ` Gary Thomas
2007-06-06 19:03 ` John Mills
2007-06-07 3:16 ` Andrew Lunn
2007-06-07 4:08 ` John Mills
2007-06-07 4:43 ` [ECOS] " Grant Edwards
2007-06-07 8:49 ` Grant Edwards [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f46vlv$2er$1@sea.gmane.org' \
--to=grante@visi.com \
--cc=ecos-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).