samba-technical@lists.samba.org
[Top] [All Lists]

Re: Bug in talloc_asprintf_append()

Subject: Re: Bug in talloc_asprintf_append()
From: "Stefan (metze) Metzmacher"
Date: Thu, 13 Sep 2007 09:40:28 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy Allison schrieb:
> Tridge,
> 
>       The talloc_asprintf_append() function doesn't take
> into account a truncated string.
Hi Jeremy,

I think that's intentional, see:
http://viewcvs.samba.org/cgi-bin/viewcvs.cgi?rev=5937&view=rev

but I think it should be persistent between all string related
talloc_*append* calls, talloc_append_string() was forgotten in
the optimization.

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG6Olsm70gjA5TCD8RAtAtAJ0X5S0KDnhJzWePUXPaTD04B7dqMgCgzExv
D7aOj8JCWpGMIzaoy1o388I=
=hzlL
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>