r20570: use talloc_asprintf() instead of talloc_asprintf_append()
commit1748af20b1f7b325048619a1e66a1c8b69474c5f
authorStefan Metzmacher <metze@samba.org>
Fri, 5 Jan 2007 21:22:15 +0000 (5 21:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:37:03 +0000 (10 14:37 -0500)
tree3f54f9d3e9f464008847b3ecea8ab7a131ab3e88
parent38ae9658cb52149d66f910582d8b55fe954650fb
r20570: use talloc_asprintf() instead of talloc_asprintf_append()
because talloc_asprintf_append() doesn't work like talloc_append_string()
which uses strlen() on the old string instead of (tc->size - 1)

This matter in this case because strlower_talloc() over allocates

tridge: how should we fix this in lib/talloc/?

metze
source/libnet/libnet_become_dc.c