]> git.ipfire.org Git - thirdparty/samba.git/commit
lib: Use talloc_asprintf_addbuf() in ldif_write_prefixMap()
authorVolker Lendecke <vl@samba.org>
Mon, 28 Nov 2022 09:58:46 +0000 (10:58 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 14 Dec 2022 04:32:34 +0000 (04:32 +0000)
commitbcdbe6ef6b59ae3638f263fbd5ddf4107c3f52cf
treed6ce1e021d8564e111daa34b87bf6964e37e619a
parentc692b5c95bdc0d96ab7797a59b94addaa1c80d94
lib: Use talloc_asprintf_addbuf() in ldif_write_prefixMap()

The first call of talloc_asprintf_append() did not have a NULL check.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/ldb-samba/ldif_handlers.c