httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: [BUG]: "Info module outputs garbage" on AIX
Date Thu, 30 Jan 1997 07:42:38 GMT
Rob Hartill wrote:
> 
> 
> Thanks for the patch. We'll look into it.

This doesn't look like it does anything to me. I notice that the section of
code above uses this piece of incorrectness:

	t+=4*sizeof(char);

This ain't right. I'm going to fix it. Note that it won't go wrong unless
sizeof(char) != 1, which is highly unlikely.

Cheers,

Ben.

> 
> cheers,
> rob
> 
> 
> On Wed, 29 Jan 1997 flaurens@rational.com wrote:
> 
> > Submitter: flaurens@rational.com
> > Operating system: AIX, version: 3.2.5
> > Version of Apache Used: 1.2b6
> > Extra Modules used: status_module, info_module
> > URL exhibiting problem: 
> > 
> > Symptoms:
> > --
> > I think the following change is needed in
> > mod_info.c, to avoid outputing garbage:
> > diff -c  mod_info.c.orig  mod_info.c               
> > *** mod_info.c.orig     Sun Jan 26 02:16:17 1997
> > --- mod_info.c  Wed Jan 29 18:42:15 1997
> > ***************
> > *** 103,110 ****
> >                 }
> >                 else *t++=*s;
> >                 s++;
> >         }
> > -       *t='\0';
> >         return(ret);
> >   }
> >   
> > --- 103,110 ----
> >                 }
> >                 else *t++=*s;
> >                 s++;
> > +               *t='\0';
> >         }
> >         return(ret);
> >   }
> > 
> > --
> > 
> > Backtrace:
> > --
> > 
> > --
> > 
> > 
> 
> _______________________________________________________________________
> Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email: ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author

Mime
View raw message