https://bz.apache.org/bugzilla/show_bug.cgi?id=57771

            Bug ID: 57771
           Summary: cleanup_script uses incorrect connection ID
           Product: Apache httpd-2
           Version: 2.4.12
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cgid
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 32618
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32618&action=edit
Simple fix

The cleanup_script function in mod_cgid.c (line 1347 in 2.4.12) initializes
req.conn_id to info->r->connection->id when it should be using the saved
conn_id in the cleanup_script_info structure. This causes the wrong process (or
a nonexistant process) to be cleaned up if the connection ID changes during
processing (e.g., due to waiting around).

Attached is a patch for 2.4.12 that fixes this.

-- 
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