(krb5_domain_x500_decode): set *num_realms to zero not num_realms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13033 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -310,7 +310,7 @@ krb5_domain_x500_decode(krb5_context context,
|
|||||||
|
|
||||||
if(tr.length == 0) {
|
if(tr.length == 0) {
|
||||||
*realms = NULL;
|
*realms = NULL;
|
||||||
num_realms = 0;
|
*num_realms = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user