[asterisk-bugs] [Asterisk 0012995]: res_config_ldap crashes consistently with "Illegal Instruction"

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 4 14:50:29 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12995 
====================================================================== 
Reported By:                flyn
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12995
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-04-2008 14:50 CDT
Last Modified:              07-04-2008 14:50 CDT
====================================================================== 
Summary:                    res_config_ldap crashes consistently with "Illegal
Instruction"
Description: 
The problem appeared after we fixed bug
http://bugs.digium.com/view.php?id=12572.

The res_config_ldap.so module consistently crashes with an illegal
instruction on the statement "if (strncasecmp("{md5}", valptr, 5) == 0)" I
have looked at this quite a bit, and have not yet been able to determine
what is causing this.

I've looked at this with both gdb and valgrind and can't figure out the
problem.

I have done some experimenting as documented below. The very odd behavior
seems to indicate there may be some type of memory corruption happening
elsewhere.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-04-08 14:50  flyn           Asterisk Version          => SVN             
07-04-08 14:50  flyn           SVN Branch (only for SVN checkou =>  trunk       
  
======================================================================




More information about the asterisk-bugs mailing list