https://issues.apache.org/bugzilla/show_bug.cgi?id=53663

          Priority: P2
            Bug ID: 53663
          Assignee: [email protected]
           Summary: Use of uninitialized memory in mod_rewrite, when
                    RewriteMap is dbd or fastdbd
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to