svn commit: samba r21849 - in branches/SAMBA_3_0_25/source/libaddns: .

Gerald (Jerry) Carter jerry at samba.org
Mon Mar 19 01:36:30 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Love Hörnquist Åstrand wrote:
> 16 mar 2007 kl. 08.09 skrev jerry at samba.org:
> 
>> +    /* don't free the printcap until after you call
>> +       gss_release_name() or else you'll get a segv
>> +       as the krb5_copy_principal() does a structure
>> +       copy and not a deep copy.    --jerry*/
> 
> You sure about this ? From what I read from the MIT and heimdal
> source they both make deep copy.

Yes.  I've very sure.  I can dig up the details if you like.  But
the MIT libs do a deep copy but part of the type def'ed data
type is actually a pointer.  Took me about a day to find the bug.





cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/ekeIR7qMdg1EfYRAkJjAKCJ6AVFQDeMFl4nFd4NRZOp0rIXogCcDnVT
cGyiruFiyEZUjrtGP5CjR7s=
=LK2C
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list