commit | 3dc6fc42bfc61b86d5cb4632bdd3c2f47fb357af | [log] [tgz] |
---|---|---|
author | Geoff Beier <geoff@redhoundsoftware.com> | Thu Sep 05 17:51:53 2013 -0400 |
committer | Daniel Stenberg <daniel@haxx.se> | Fri Sep 06 13:32:49 2013 +0200 |
tree | 51d7a8f191be3ea72174b24d895602ae8a006799 | |
parent | d2fe616e7e44a106ac976aaeaa441ad7d8a6df11 [diff] |
LDAP: fix bad free() when URL parsing failed When an error occurs parsing an LDAP URL, The ludp->lud_attrs[i] entries could be freed even though they sometimes point to data within an allocated area. This change introduces a lud_attrs_dup[] array for the duplicated string pointers, and it removes the unused lud_exts array. Bug: http://curl.haxx.se/mail/lib-2013-08/0209.html