[asterisk-bugs] [JIRA] Commented: (ASTERISK-19971) Segfault in realtime_multi_ldap (possible invalid arguments)
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Wed Aug 29 09:00:07 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-19971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196343#comment-196343 ]
Matt Jordan commented on ASTERISK-19971:
----------------------------------------
Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information can be found at http://www.asterisk.org/developers/bug-guidelines
> Segfault in realtime_multi_ldap (possible invalid arguments)
> ------------------------------------------------------------
>
> Key: ASTERISK-19971
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-19971
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 1.8.11.1
> Environment: Ubuntu 10.04 64-bit
> Reporter: Lars Peter Thomsen
> Assignee: Lars Peter Thomsen
> Attachments: debug_asterisk_gdb2.txt, debug_asterisk_gdb.txt, debug_asterisk_valgrind.txt
>
>
> Realtime LDAP module kills asterisk with a segfault when querying for extensions. It appears to happen in the realtime_multi_ldap function in res_config_ldap.c, where the newparam variable somehow is invalid (null or garbage). The warning in checking the variable is fired in several runs prior to the fault.
> Calls go through every time before the fault, with the aforementioned warning being fired each time, and on the 8th to 10th attempt, the segfault occurs.
> Disabling realtime extensions in extconfig.conf, so only users, peers and voicemail data is fetched from LDAP, while extensions are fetched from extensions.conf, causes the problem to not occur.
> Entry in extconfig.conf:
> extensions => ldap,"ou=extensions,dc=communica,dc=cabo,dc=dk",extensions
> Entry in res_ldap.conf:
> ; Extensions Table
> [extensions]
> context = AstContext
> exten = AstExtension
> priority = AstPriority
> app = AstApplication
> appdata = AstApplicationData
> additionalFilter=(objectClass=AsteriskExtension)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list