zero priv

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4698 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-04-03 02:15:45 +00:00
parent c7c3445955
commit c96be0a10f

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -54,6 +54,7 @@ krb5_rd_priv(krb5_context context,
krb5_data plain;
krb5_keyblock *key;
memset(&priv, 0, sizeof(priv));
ret = decode_KRB_PRIV (inbuf->data, inbuf->length, &priv, &len);
if (ret)
goto failure;