diff options
author | Geoff Beier <geoff@redhoundsoftware.com> | 2013-09-05 17:51:53 -0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-09-06 13:32:49 +0200 |
commit | 3dc6fc42bfc61b86d5cb4632bdd3c2f47fb357af (patch) | |
tree | 51d7a8f191be3ea72174b24d895602ae8a006799 /packages/Linux | |
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
Diffstat (limited to 'packages/Linux')
0 files changed, 0 insertions, 0 deletions