tldap: Make memcpy of no controls safe
commite5452a37425484a95f90604a3e58e8a731460793
authorGarming Sam <garming@catalyst.net.nz>
Wed, 31 Jul 2019 01:08:23 +0000 (31 01:08 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Aug 2019 05:01:15 +0000 (1 05:01 +0000)
tree26e0e91830a9bd78fa686d23b3cdcceeca4657c9
parent1a7f2a230d509df6f1f91bfea80c9b4b2c0df1bd
tldap: Make memcpy of no controls safe

Static analyzers sometimes complain about this case.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14029
source3/lib/tldap_util.c