pullup from trunk
authorAlexandra Ellwood <lxs@mit.edu>
Mon, 19 Mar 2007 21:17:02 +0000 (21:17 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Mon, 19 Mar 2007 21:17:02 +0000 (21:17 +0000)
commit16e3f98a766bed7f0f492cc58b3b0c31a95c9e47
treecba0ed42160470f8093b11e45807dd5b7f21da32
parent05cdde8b175065bd9524febd647d3aec3684ee19
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.

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

ticket: 5476

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19236 dc483132-0cff-0310-8789-dd5450dbe970
src/util/support/fake-addrinfo.c