httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@n2k.com>
Subject Re: WWW Form Bug Report: "I can not say that this is a bug, but I " on Solaris 2.x
Date Fri, 10 Jan 1997 04:02:59 GMT
+1 for fixing this.

Rob Hartill liltingly intones:
> 
> 
> Thanks. It sure looks wrong doesn't it.
> 
> cheers,
> rob
> 
> On Thu, 9 Jan 1997 hunsoo@sensor.kaist.ac.kr wrote:
> 
> > Submitter: hunsoo@sensor.kaist.ac.kr
> > Operating system: Solaris 2.x, version: 
> > Version of Apache Used: apache_1.2b4
> > Extra Modules used: 
> > URL exhibiting problem: 
> > 
> > Symptoms:
> > --
> > I am curious because 
> > in http_main.c there are following lines
> > 
> > ---------------------------
> > conn_rec *new_connection (pool *p, server_rec *server, BUFF *inout,
> >                           const struct sockaddr_in *remaddr,
> >                           const struct sockaddr_in *saddr,
> >                           int child_num)
> > {
> >     conn_rec *conn = (conn_rec *)pcalloc (p, sizeof(conn_rec));
> > 
> >     /* Get a connection structure, and initialize what fields we can
> >      * (the rest are zeroed out by pcalloc).
> >      */
> > 
> >     conn = (conn_rec *)pcalloc(p, sizeof(conn_rec));
> >     conn->child_num = child_num;
> > 
> > ------------------------
> > conn was allocated twice. 
> > 
> > Is that right?  please email me.
> > 
> 
> 
> 

chuck
Chuck Murcko	N2K Inc.	Wayne PA	chuck@telebase.com
And now, on a lighter note:
"I don't think so," said Ren'e Descartes.  Just then, he vanished.

Mime
View raw message