clear outbuf[0].data to unconfuse coverity
authorKen Raeburn <raeburn@mit.edu>
Thu, 29 Jan 2009 01:12:17 +0000 (01:12 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 29 Jan 2009 01:12:17 +0000 (01:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21825 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/sendauth.c

index 85d52f171da84a9667fb31d4957227cd4d044e62..2becbe1e04febca280daf90f97c1176635105e59 100644 (file)
@@ -155,6 +155,7 @@ krb5_sendauth(krb5_context context, krb5_auth_context *auth_context,
            }
        }
 
+       outbuf[0].data = NULL;  /* Coverity is confused otherwise */
        if ((retval = krb5_mk_req_extended(context, auth_context,
                                           ap_req_options, in_data, credsp,
                                           &outbuf[0])))