ASF Bugzilla – Attachment 24064 Details for
Bug 46420
mod_ssl SSLSessionCache: Parentheses in path name not possible for shm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Path to resolve (x86) path issue.
ssl_engine_config.c.patch (text/plain), 1.08 KB, created by
William Bailey
on 2009-07-30 04:34:54 UTC
(
hide
)
Description:
Path to resolve (x86) path issue.
Filename:
MIME Type:
Creator:
William Bailey
Created:
2009-07-30 04:34:54 UTC
Size:
1.08 KB
patch
obsolete
>--- httpd-2.2.11/modules/ssl/ssl_engine_config.c.old Sun Jul 23 07:11:58 2006 >+++ httpd-2.2.11-win32-src-r2/httpd-2.2.11/modules/ssl/ssl_engine_config.c Thu Jul 30 12:26:16 2009 >@@ -986,7 +986,7 @@ > { > SSLModConfigRec *mc = myModConfig(cmd->server); > const char *err, *colon; >- char *cp, *cp2; >+ char *cp; > int arglen = strlen(arg); > > if ((err = ap_check_cmd_context(cmd, GLOBAL_ONLY))) { >@@ -1032,15 +1032,10 @@ > mc->tSessionCacheDataTable = NULL; > mc->nSessionCacheDataSize = 1024*512; /* 512KB */ > >- if ((cp = strchr(mc->szSessionCacheDataFile, '('))) { >+ if (mc->szSessionCacheDataFile[(strlen(mc->szSessionCacheDataFile)-1)] == ')' >+ && (cp = strrchr(mc->szSessionCacheDataFile, '('))) { > *cp++ = NUL; >- >- if (!(cp2 = strchr(cp, ')'))) { >- return "SSLSessionCache: Invalid argument: " >- "no closing parenthesis"; >- } >- >- *cp2 = NUL; >+ cp[strlen(cp) - 1] = NUL; > > mc->nSessionCacheDataSize = atoi(cp); >
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 46420
: 24064