You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/01/09 18:20:05 UTC
Re: WWW Form Bug Report: "I can not say that this is a bug, but I " on Solaris 2.x
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.
>