Files
asterisk/res
Matthew Jordan 1f3fff7b91 Use LDAP memory management functions instead of Asterisk's
When MALLOC_DEBUG is enabled with res_config_ldap, issues (munmap_chunk:
invalid pointer errors) can occur as the memory is being allocated with
Asterisk's wrappers around malloc/calloc/free/strdup, as opposed to the
LDAP library's wrappers.

This patch uses the LDAP library's wrappers where appropriate, so that
compiling with MALLOC_DEBUG doesn't cause more problems than it solves.

Note that the patch listed below was modified slightly for this commit
to account for some additional memory allocation/deallocations.

(closes issue ASTERISK-17386)
Reported by: John Covert
Tested by: Andrew Latham
patches:
  issue18789-1.8-r316873.patch uploaded by seanbright (License 5060)
........

Merged revisions 385190 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 385199 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@385202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-04-10 14:26:22 +00:00
..
2012-06-25 15:55:25 +00:00
2012-09-21 17:14:59 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00