randy 96/12/17 12:30:49
Modified: src CHANGES http_core.c
Log:
Initialize listen_rec->used in set_listener() to fix a dereference
problem when restarting the server.
Reviewed by: Sameer Parekh, Randy Terbush
Submitted by: Ben Laurie
Revision Changes Path
1.88 +6 -0 apache/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache/src/CHANGES,v
retrieving revision 1.87
retrieving revision 1.88
diff -C3 -r1.87 -r1.88
*** CHANGES 1996/12/15 22:06:53 1.87
--- CHANGES 1996/12/17 20:30:46 1.88
***************
*** 1,5 ****
--- 1,11 ----
Changes with Apache 1.2b3:
+ *) Add the ability to pass different Makefile.tmpl files to Configure
+ using the -make flag.
+
+ *) Fix coredump triggered when sending a SIGHUP to the server caused
+ by a dereference of an unitialized pointer in the listen_rec.
+
*) Add FILEPATH_INFO variable to CGI environment, which is equal to
PATH_INFO from previous versions of Apache (in certain situations,
Apache 1.2's PATH_INFO will be different than 1.1's). [Alexei Kosut]
1.53 +1 -0 apache/src/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -C3 -r1.52 -r1.53
*** http_core.c 1996/12/06 21:51:32 1.52
--- http_core.c 1996/12/17 20:30:46 1.53
***************
*** 1084,1089 ****
--- 1084,1090 ----
return "Port must be numeric";
new->local_addr.sin_port = htons(port);
new->fd = -1;
+ new->used = 0;
new->next = listeners;
listeners = new;
return NULL;