Fix crash in res_config_ldap.
authorSean Bright <sean@malleable.com>
Tue, 12 Jan 2010 17:09:12 +0000 (17:09 +0000)
committerSean Bright <sean@malleable.com>
Tue, 12 Jan 2010 17:09:12 +0000 (17:09 +0000)
commita5688e483bc7fbd5c4ee1ef4ef3b3470fba6e9e9
tree4d8e7ff42cd3fa4e4e35a98e79a359fc1b9fdc7b
parentfa0ef8031dab6a50134e14c80ab4cf69ed11fa45
Fix crash in res_config_ldap.

We need to allocate enough room for 2 pointers, not 2 characters.

(closes issue #16397)
Reported by: bklang
Patches:
      res_config_ldap.patch uploaded by applsplatz (license 949)
Tested by: applsplatz

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_config_ldap.c