svn rev #19235: trunk/src/util/support/

lxs@MIT.EDU lxs at MIT.EDU
Mon Mar 19 16:21:55 EDT 2007


Commit By: lxs
Log Message: 
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   trunk/src/util/support/fake-addrinfo.c



More information about the cvs-krb5 mailing list