ASF Bugzilla – Attachment 30270 Details for
Bug 54949
[PATCH] mod_cache: fix uninitialized tmppath variable (can lead to crash)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
httpd-2.4.4-mod_cache-tmppath.patch (text/plain), 520 bytes, created by
jkaluza
on 2013-05-10 07:05:32 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
jkaluza
Created:
2013-05-10 07:05:32 UTC
Size:
520 bytes
patch
obsolete
>diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c >index 4f2d3e0..146c8da 100644 >--- a/modules/cache/mod_cache.c >+++ b/modules/cache/mod_cache.c >@@ -1773,7 +1773,7 @@ static void *merge_dir_config(apr_pool_t *p, void *basev, void *addv) { > > static void * create_cache_config(apr_pool_t *p, server_rec *s) > { >- const char *tmppath; >+ const char *tmppath = NULL; > cache_server_conf *ps = apr_pcalloc(p, sizeof(cache_server_conf)); > > /* array of URL prefixes for which caching is enabled */
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 54949
: 30270