[asterisk-bugs] [Asterisk 0018789]: res_config_ldap with malloc_debug produces munmap_chunk(): invalid pointer:

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 11 00:21:17 CST 2011


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18789 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18789
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 304866 
Request Review:              
====================================================================== 
Date Submitted:             2011-02-11 00:21 CST
Last Modified:              2011-02-11 00:21 CST
====================================================================== 
Summary:                    res_config_ldap with malloc_debug produces
munmap_chunk(): invalid pointer:
Description: 
If malloc_debug is turned on, as soon as an ldap realtime peer attempts to
register, wham.

This occurs at the ldap_mods_free call at line 1338.

Problem occurs with or without the patch from issue 18435 (i.e. with
straight 1.8.2.3 or with SVN revision 304866 of res_config_ldap.c)

Runs "ok" without malloc_debug.

Backtrace attached.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-11 00:21 jcovert        New Issue                                    
2011-02-11 00:21 jcovert        Asterisk Version          => SVN             
2011-02-11 00:21 jcovert        Regression                => No              
2011-02-11 00:21 jcovert        SVN Branch (only for SVN checkouts, not tarball
releases) => 1.8             
2011-02-11 00:21 jcovert        SVN Revision (number only!) => 304866          
======================================================================




More information about the asterisk-bugs mailing list