httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50994] New: NULL pointer dereference with "RewriteMap foo int:undefined"
Date Tue, 29 Mar 2011 23:20:37 GMT

           Summary: NULL pointer dereference with "RewriteMap foo
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite

Quoting the commit log:

"Fix NULL pointer dereference in mod_rewrite.

Example config that triggers this behaviour.

  # RewriteEngine is off here
  RewriteMap crash int:crash
  <Location /crashme>
    RewriteEngine on
    RewriteRule (.+) ${crash:$1}

The RewriteMap directive must check the validity of its arguments
regardless of the value of RewriteEngine at the time of processing."

This bug exists in HEAD and (at least) Apache 2.2.14.

Color diff and patch:

Configure bugmail:
------- 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