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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 5 12:22:55 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
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:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-3119 
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-05-05 12:22 CDT
====================================================================== 
Summary:                    [patch] 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0134509) jcovert (reporter) - 2011-05-05 12:22
 https://issues.asterisk.org/view.php?id=18789#c134509 
---------------------------------------------------------------------- 
my client has asked me to wait until next week to test. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-05 12:22 jcovert        Note Added: 0134509                          
======================================================================




More information about the asterisk-bugs mailing list