From eca0a9cd55a6bf30bb958afdc522b52fa4fe74c4 Mon Sep 17 00:00:00 2001 From: Greg Ames Date: Mon, 23 Jul 2001 18:17:16 +0000 Subject: [PATCH] prevent seg faults in mod_status with ExtendedStatus enabled, after a restart. A pointer to the previous generation's vhost server_rec could be left in the worker_score under certain conditions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89660 13f79535-47bb-0310-9956-ffa450edef68 --- server/scoreboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/scoreboard.c b/server/scoreboard.c index e575e53423..708d5878e6 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -294,6 +294,7 @@ int ap_update_child_status(int child_num, int thread_num, int status, request_re && old_status == SERVER_STARTING) { ws->thread_num = child_num * HARD_SERVER_LIMIT + thread_num; ps->generation = ap_my_generation; + ws->vhostrec = NULL; } if (ap_extended_status) { -- 2.50.1