source:
trunk/server/common/patches/httpd-2.2.x-CVE-2012-0031.patch
@
2143
Last change on this file since 2143 was 2134, checked in by achernya, 13 years ago | |
---|---|
File size: 936 bytes |
-
httpd/httpd/branches/2.2.x/server/scoreboard.c
42 42 AP_DECLARE_DATA int ap_extended_status = 0; 43 43 AP_DECLARE_DATA int ap_mod_status_reqtail = 0; 44 44 45 static ap_scoreboard_e scoreboard_type; 46 45 47 #if APR_HAS_SHARED_MEMORY 46 48 47 49 #include "apr_shm.h" … … 250 252 if (ap_scoreboard_image == NULL) { 251 253 return APR_SUCCESS; 252 254 } 253 if ( ap_scoreboard_image->global->sb_type == SB_SHARED) {255 if (scoreboard_type == SB_SHARED) { 254 256 ap_cleanup_shared_mem(NULL); 255 257 } 256 258 else { … … 312 314 ap_init_scoreboard(sb_mem); 313 315 } 314 316 315 ap_scoreboard_image->global->sb_type = s b_type;317 ap_scoreboard_image->global->sb_type = scoreboard_type = sb_type; 316 318 ap_scoreboard_image->global->running_generation = 0; 317 319 ap_scoreboard_image->global->restart_time = apr_time_now(); 318 320
Note: See TracBrowser
for help on using the repository browser.