httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59019] New: UnDefine corrupts the list of defines
Date Wed, 17 Feb 2016 16:51:24 GMT

            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

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 !REPLACEMENT>
        Replacement should have been defined
        <IfDefine !NEW>
        New should have been defined

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:
For additional commands, e-mail:

View raw message