1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00
Stefan Metzmacher 927e163670 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
(This used to be commit 1748af20b1f7b325048619a1e66a1c8b69474c5f)
2007-10-10 14:37:03 -05:00
..
2007-10-10 14:18:56 -05:00
2007-10-10 14:28:37 -05:00