Commit 3972e157 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

mod_cache: Fix uninitialized tmppath variable.

PR: 54949
Submitted by: <jkaluza redhat.com>
Reviewed by: minfrin, trawick, wrowe



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1497099 13f79535-47bb-0310-9956-ffa450edef68
parent e6624bfb
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -114,11 +114,6 @@ RELEASE SHOWSTOPPERS:
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
  [ start all new proposals below, under PATCHES PROPOSED. ]
  
  * mod_cache: Fix uninitialized tmppath variable. PR 54949
    trunk patch: Variable removed from trunk in http://svn.apache.org/r1407381
    2.2.x patch: http://people.apache.org/~minfrin/httpd-mod_cache-tmppath.patch
    +1: minfrin, trawick, wrowe

  * mod_dav: Sending a MERGE request against a URI handled by mod_dav_svn with
    the source href (sent as part of the request body as XML) pointing to a
    URI that is not configured for DAV will trigger a segfault.
+1 −1
Original line number Diff line number Diff line
@@ -1026,7 +1026,7 @@ static int cache_remove_url_filter(ap_filter_t *f, apr_bucket_brigade *in)

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 */