DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31127>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31127

ap_get_scoreboard_{worker,process} has to lax range checks

           Summary: ap_get_scoreboard_{worker,process} has to lax range
                    checks
           Product: Apache httpd-2.0
           Version: 2.0-HEAD
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The scoreboard has space for server_limit parents
and server_limit*thread_limit workers, but
ap_get_scoreboard_{worker,process} allow indizes
0 ... server_limit and 0 ... thread_limit inclusive,
but they only should allow
0 ... server_limit-1 and 0 ... thread_limit-1

If the rest of the code is correct, they
probably won't be called with bad arguments,
thus this is mostly of code cosmetic interrest.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to