[asterisk-bugs] [JIRA] (ASTERISK-17386) [patch] res_config_ldap with malloc_debug produces munmap_chunk(): invalid pointer:

Andrew Latham (JIRA) noreply at issues.asterisk.org
Tue Apr 9 15:44:01 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-17386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205113#comment-205113 ] 

Andrew Latham commented on ASTERISK-17386:
------------------------------------------

I like the patch.  I feel that there are more areas that need cleaned up.  Maybe commit this and close to get it moving along.  I am having a real problem getting folks to do testing. LDAP testing is harder than ODBC to setup and stress.
                
> [patch] res_config_ldap with malloc_debug produces munmap_chunk(): invalid pointer:
> -----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-17386
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17386
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Resources/res_config_ldap
>    Affects Versions: 1.8.2
>            Reporter: John Covert
>            Assignee: Andrew Latham
>            Severity: Critical
>         Attachments: ASTERISK-17386-1.8.diff, backtrace.txt, issue18789-1.8-r316873.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list