httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31127] New: - ap_get_scoreboard_{worker,process} has to lax range checks
Date Wed, 08 Sep 2004 18:25:38 GMT
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: bugs@httpd.apache.org
        ReportedBy: roques@mti.ag


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message