httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59019] New: UnDefine corrupts the list of defines
Date Wed, 17 Feb 2016 16:51:24 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59019

            Bug ID: 59019
           Summary: UnDefine corrupts the list of defines
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: paul.spangler@ni.com

UnDefine'ing a previously Define'd variable appears to corrupt
ap_server_config_defines, causing future Defines to overwrite other variables.

Steps to Reproduce:

    Load the following conf snippet and try to start the server:

        Define ORIGINAL
        Define NEW
        UnDefine ORIGINAL
        Define REPLACEMENT

        <IfDefine ORIGINAL>
        Original should not have been defined
        </IfDefine>
        <IfDefine !REPLACEMENT>
        Replacement should have been defined
        </IfDefine>
        <IfDefine !NEW>
        New should have been defined
        </IfDefine>

Actual Results:

    The server fails to start because NEW is no longer defined.

Expected Results:

    The server starts.

Build Date & Hardware:

    64-bit Linux build of 2.4.10.

Additional Builds and Platforms:

    Reproduces in trunk builds and on Windows (2.4.7 64-bit).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message