svn rev #19236: branches/krb5-1-6/src/util/support/

lxs@MIT.EDU lxs at MIT.EDU
Mon Mar 19 17:17:03 EDT 2007


Commit By: lxs
Log Message: 
ticket: 5476

pullup from trunk

------------------------------------------------------------------------
r19235 | lxs | 2007-03-19 16:21:54 -0400 (Mon, 19 Mar 2007) | 9 lines

ticket: new
target_version: 1.6.1
tags: pullup
subject: Zero sockaddrs in fai_add_entry() so we can compare them with memcmp()

If we don't zero the struct sockaddrs in fai_add_entry() then any sin_zero 
fields will be left as random memory and the memcmp() will return that the 
addresses are different even if they aren't.

------------------------------------------------------------------------



Changed Files:
U   branches/krb5-1-6/src/util/support/fake-addrinfo.c



More information about the cvs-krb5 mailing list