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 2012/08/06 21:31:10 UTC
[Bug 53663] New: Use of uninitialized memory in mod_rewrite, when
RewriteMap is dbd or fastdbd
https://issues.apache.org/bugzilla/show_bug.cgi?id=53663
Priority: P2
Bug ID: 53663
Assignee: bugs@httpd.apache.org
Summary: Use of uninitialized memory in mod_rewrite, when
RewriteMap is dbd or fastdbd
Severity: major
Classification: Unclassified
OS: All
Reporter: mi+apache@aldan.algebra.com
Hardware: All
Status: NEW
Version: 2.4.2
Component: mod_rewrite
Product: Apache httpd-2
Created attachment 29173
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29173&action=edit
Fix for mod_rewrite's dbd/fastdbd initialization
Without the attached patch, httpd randomly crashes at startup, when one
attempts to use the new dbd-style RewriteMap.
valgrind points at the use of uninitialized memory in mod_rewrite.c:3068 --
indeed, when the map is of type dbd (or fastdbd), the newmap->checkfile remains
uninitialized. The proposed patch fixes the problem by explicitly setting the
field to NULL (there are no files to check in this case).
--
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 53663] Use of uninitialized memory in mod_rewrite, when
RewriteMap is dbd or fastdbd
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53663
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk
--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> ---
Thanks for debugging this.
Fixed slightly differently in r1369995, r1369999, r1370001.
--
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 53663] Use of uninitialized memory in mod_rewrite, when
RewriteMap is dbd or fastdbd
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53663
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Rainer Jung <ra...@kippdata.de> ---
Fixed for 2.4 in r1371208.
Released with 2.4.3.
It seems no backport needed, since rewrite maps with dbd did not exist in 2.2.
--
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 53663] Use of uninitialized memory in mod_rewrite, when
RewriteMap is dbd or fastdbd
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53663
Mikhail T. <mi...@aldan.algebra.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
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 53663] Use of uninitialized memory in mod_rewrite, when
RewriteMap is dbd or fastdbd
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53663
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #29173|0 |1
is patch| |
Attachment #29173|application/octet-stream |text/plain
mime type| |
--
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