ldap VLV: memdup, not strdup VLV context_id
commitd2c6f7624b802825f0fa711a6254f16de071814d
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 22 Dec 2015 04:10:14 +0000 (22 17:10 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 9 Mar 2016 09:32:16 +0000 (9 10:32 +0100)
tree787791de0b8a9d7bb9cda4f589117d2220b1aa7d
parent5421d7070a8925104d9abc2039202983135acf64
ldap VLV: memdup, not strdup VLV context_id

The context ID is not a text string, it is an opaque binary field.

Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/libcli/ldap/ldap_controls.c