You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/02/17 17:51:24 UTC
[Bug 59019] New: UnDefine corrupts the list of defines
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
[Bug 59019] UnDefine corrupts the list of defines
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59019
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--- Comment #2 from Christophe JAILLET <ch...@wanadoo.fr> ---
Confirmed,
could you try the attached patch?
--
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
[Bug 59019] UnDefine corrupts the list of defines
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59019
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Christophe JAILLET <ch...@wanadoo.fr> ---
Will be part 2.4.19
See r1733278
--
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
[Bug 59019] UnDefine corrupts the list of defines
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59019
--- Comment #3 from Paul Spangler <pa...@ni.com> ---
(In reply to Christophe JAILLET from comment #2)
> Confirmed,
>
> could you try the attached patch?
Looks good to me. Tested 2.4.7 Windows 64-bit and trunk Linux 64-bit builds.
--
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
[Bug 59019] UnDefine corrupts the list of defines
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59019
--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
Created attachment 33605
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33605&action=edit
Patch
--
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
[Bug 59019] UnDefine corrupts the list of defines
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59019
--- Comment #4 from Christophe JAILLET <ch...@wanadoo.fr> ---
Thx for testing,
r1732716 will be proposed for backport shortly.
Should be available in 2.4.19
--
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