Avoid double free in ldap modify requests. The values received in the
authormartinh <martinh@openbsd.org>
Tue, 13 Jul 2010 12:54:51 +0000 (12:54 +0000)
committermartinh <martinh@openbsd.org>
Tue, 13 Jul 2010 12:54:51 +0000 (12:54 +0000)
commitf12396bd54a8fefffac811cdb33f6dbe7b93ad60
tree67d859c9f963e22a26a0bc3a913acb3f0bb83659
parent68b9454cdf6559de564911e16e7d6df947aa6963
Avoid double free in ldap modify requests. The values received in the
modify request is linked into the stored ber structure, and then both are
freed. Fix this by unlinking the values from the request.
usr.sbin/ldapd/attributes.c
usr.sbin/ldapd/modify.c