[Issues] [mod_auth_xradius 0000049]: dbm cache fails due to dbm_close while data still needed

issues at outoforder.cc issues at outoforder.cc
Fri Dec 30 09:05:50 EST 2005


The following issue has been SUBMITTED. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=49 
====================================================================== 
Reported By:                richter
Assigned To:                
====================================================================== 
Project:                    mod_auth_xradius
Issue ID:                   49
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Apache Version:             2.0.XX 
====================================================================== 
Date Submitted:             12-30-2005 09:05 EST
Last Modified:              12-30-2005 09:05 EST
====================================================================== 
Summary:                    dbm cache fails due to dbm_close while data still
needed
Description: 
in function xrad_cachedbm_check a apr_dbm_close is called while the data in
dbmval is still needed, that causes sometimes a data corruption of the last
char of the password, causeing the cache to fail. This happens for me every
2 or 3 requests. After moveing the apr_dbm_close to the end of sub it works
without problems.

The attached patch fixes the problem
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-30-05 09:05  richter        New Issue                                    
12-30-05 09:05  richter        File Added: dbm.patch                        
12-30-05 09:05  richter        Apache Version            => 2.0.XX          
======================================================================




More information about the Issues mailing list