Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 53663] New: Use of uninitialized memory in mod_rewrite, when RewriteMap is dbd or fastdbd

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Aug 6, 2012, 12:31 PM

Post #1 of 1 (121 views)
Permalink
[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 [at] httpd
Summary: Use of uninitialized memory in mod_rewrite, when
RewriteMap is dbd or fastdbd
Severity: major
Classification: Unclassified
OS: All
Reporter: mi+apache [at] aldan
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 [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.