ASF Bugzilla – Attachment 32268 Details for
Bug 57328
Invalid memory access on ap_server_config_defines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to dump elements of ap_server_config_defines after a graceful restart, includes also fix for the problem
server_config_defines.patch (text/plain), 658 bytes, created by
Armin Abfalterer
on 2014-12-08 11:16:20 UTC
(
hide
)
Description:
Patch to dump elements of ap_server_config_defines after a graceful restart, includes also fix for the problem
Filename:
MIME Type:
Creator:
Armin Abfalterer
Created:
2014-12-08 11:16:20 UTC
Size:
658 bytes
patch
obsolete
>--- server/core.c 2014-12-08 11:28:51.193218810 +0100 >+++ server/core.c-fix 2014-12-08 11:30:05.467577471 +0100 >@@ -1268,6 +1268,21 @@ > { > ap_server_config_defines = saved_server_config_defines; > server_config_defined_vars = NULL; >+ >+#define WITH_FIX 0 >+#if WITH_FIX >+ saved_server_config_defines = NULL; >+#endif >+ const char **defines; >+ int i; >+ >+ defines = (const char **)ap_server_config_defines->elts; >+ for (i = 0; i < ap_server_config_defines->nelts; i++) { >+ const char *name = defines[i]; >+ const char *val = NULL; >+ fprintf(stderr, "XXX (%i) %s\n", i, name); >+ fflush(stderr); >+ } > return OK; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57328
: 32268