Commit ac88054c authored by Jeff Trawick's avatar Jeff Trawick
Browse files

initialize local condition_var var to keep garbage out of struct

header_entry->condition_var and avoid a segfault later

(untested, but it looks good to me :) )


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89273 13f79535-47bb-0310-9956-ffa450edef68
parent 186580c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ static const char *header_inout_cmd(hdr_inout inout, cmd_parms *cmd, void *indir
                              const char *value, const char* envclause)
{
    headers_conf *dirconf = indirconf;
    const char *condition_var;
    const char *condition_var = NULL;
    char *colon;
    char *hdr = apr_pstrdup(cmd->pool, inhdr);
    header_entry *new;