Commit 3e24f874 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

Fix wrong condition that may lead to NULL being set as 'Vary' header


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132467 13f79535-47bb-0310-9956-ffa450edef68
parent 7119f78d
Loading
Loading
Loading
Loading
+1 −1
Changes for server/util_expr_eval.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -720,7 +720,7 @@ AP_DECLARE(int) ap_expr_exec_ctx(ap_expr_eval_ctx_t *ctx)
                      "Evaluation of expression from %s:%d gave: %d",
                      ctx->info->filename, ctx->info->line_number, rc);

        if (ctx->vary_this)
        if (*ctx->vary_this)
            apr_table_merge(ctx->r->headers_out, "Vary", *ctx->vary_this);

        return rc;