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 47340] New: uldap_cache_comparedn() called without a lock
Date Tue, 09 Jun 2009 22:16:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47340

           Summary: uldap_cache_comparedn() called without a lock
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tammy000@gmail.com


Per the block comment before the body of function uldap_cache_comparedn(), a
lock must be held already:

/* ...
   The lock for the ldap cache should already be acquired */
static int uldap_cache_comparedn() ...)

But when it is called from authz_ldap_check_user_access(), no lock is held
before calling uldap_cache_comparedn(). It is a bug, or the comment is
outdated?


Detected by an automatic tool iComment.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message