zero out content of all krb5_free_x_content like functions to make sure data doesnt get reused, idea from Wynn Wilkes <wwilkes@vintela.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15167 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1033,6 +1033,7 @@ krb5_free_address(krb5_context context,
|
||||
if(a != NULL && a->free_addr != NULL)
|
||||
return (*a->free_addr)(context, address);
|
||||
krb5_data_free (&address->address);
|
||||
memset(address, 0, sizeof(*address));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user