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 11173] New: - htpasswd fails with -c and -n options conflict
Date Thu, 25 Jul 2002 16:44:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11173>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11173

htpasswd fails with -c and -n options conflict

           Summary: htpasswd fails with -c and -n options conflict
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: support
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Robert.H.Lowe@lawrence.edu


The if clause in line 378 is incorrect.  It should read:

if (*mask & (APHTP_NEWFILE | APHTP_NOFILE)) == (APHTP_NEWFILE | APHTP_NOFILE)) {
...

This test is to make sure that both options are not set.  The original does not have
the == (...) piece, which means "if either of these options are set", and not
"if both of 
these options are set" as intended.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message