Annoying valgrind warnings in winbindd
Stefan (metze) Metzmacher
metze at samba.org
Thu Oct 25 09:30:29 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *,
when I build samba3 with --enable-developer safe_strcpy_fn() and
safe_strcat_fn() use clobber_region() to write to the buffer, but mark
it as uninitialzed for valgrind, which is a good way to find bugs.
But the problem is we use fstrcpy/fstrcat to prepare the struct based
winbind messages which are passed to write() and valgrind warns
when unitialized memory is passed to system calls.
Has anyone an good idea how to get rid of this annoying warnings?
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHIGI1m70gjA5TCD8RAtSaAJ41m8gSc92y8IULQUTmCij3QxLebgCgpZHo
ok8v1ii9lG0UtUfTUYIF8ds=
=qj6P
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list