On Mon, Feb 19, 2001 at 09:16:04AM +0100, Emiliano wrote:
> Alexander Bokovoy wrote:
> 
> > > As far as I can tell/guess -
> > > this is the mod_php3.c file send_php3 function definition failing to free
> > >
> > >         if(conf->charset) free((char *)r->content_type);
> > But this is true, because if charset option defined in ini file, r->content_type
> > allocated with malloc. In opposite case it just points to static buffer.
> > 
> > May be your script changes content type with header() function?
> That should be allowed, right? Is this a PHP3 bug?
Looks so. At least header() makes no assumption about origin on r->content_type
and mod_php3.c silently assumes that r->content_type isn't changed during 
interpretation process.
-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |    Aurora R&D team 
Minsk Linux Users Group |    www.minsk-lug.net    |  www.aurora-linux.com  
   IPLabs Linux Team    |     linux.iplabs.ru     | Architecte Open Source
-- How long a minute is depends on which side of the bathroom door you're on.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to