[krbdev.mit.edu #5476] SVN Commit

Alexandra Ellwood via RT rt-comment at krbdev.mit.edu
Mon Mar 19 17:17:08 EDT 2007


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.

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

Commit By: lxs



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




More information about the krb5-bugs mailing list