Bug in talloc_asprintf_append()

Stefan (metze) Metzmacher metze at samba.org
Thu Sep 13 07:40:28 GMT 2007


-----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-----


More information about the samba-technical mailing list