Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.12.9) with ESMTP id l8OEW2HW012470; Mon, 24 Sep 2007 10:32:02 -0400 (EDT) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id l8OEVvlY025718; Mon, 24 Sep 2007 10:31:57 -0400 Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id l8OEUYTO024825 for ; Mon, 24 Sep 2007 10:30:34 -0400 Received: from mit.edu (M24-004-BARRACUDA-3.MIT.EDU [18.7.7.114]) by pacific-carrier-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l8OEURUc002431 for ; Mon, 24 Sep 2007 10:30:27 -0400 (EDT) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [61.144.161.55]) by mit.edu (Spam Firewall) with ESMTP id B4FB3A6A41D for ; Mon, 24 Sep 2007 10:30:25 -0400 (EDT) Received: from huawei.com (szxga03-in [172.24.2.9]) by szxga03-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0JOV00EL5MYKJQ@szxga03-in.huawei.com> for kfw-bugs@mit.edu; Mon, 24 Sep 2007 22:30:20 +0800 (CST) Received: from huawei.com ([172.24.1.24]) by szxga03-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0JOV00BHTMYKHK@szxga03-in.huawei.com> for kfw-bugs@mit.edu; Mon, 24 Sep 2007 22:30:20 +0800 (CST) Received: from Eswar20653 ([10.18.25.62]) by szxml04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0JOV00GD9MYG1M@szxml04-in.huawei.com> for kfw-bugs@mit.edu; Mon, 24 Sep 2007 22:30:20 +0800 (CST) Date: Mon, 24 Sep 2007 20:03:18 +0530 From: eswars Subject: RE: krb5_cc_resolve is crashing in windows XP j In-Reply-To: <46F7A45A.30201@secure-endpoints.com> To: kfw-bugs@mit.edu Message-ID: <001c01c7feb7$da2b4e90$3e19120a@china.huawei.com> MIME-Version: 1.0 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Mailer: Microsoft Office Outlook 11 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Thread-Index: Acf+oMLQSsFMAVPQQiqeT5Ia6ToRugAFLfPw X-Spam-Score: 0.02 X-Spam-Flag: NO X-Scanned-BY: MIMEDefang 2.42 X-Mailman-Approved-At: Mon, 24 Sep 2007 10:31:56 -0400 CC: altman@secure-endpoints.com X-Beenthere: kfw-bugs@mit.edu X-Mailman-Version: 2.1.6 Precedence: list List-ID: public entry point for KfW RT queue List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kfw-bugs-bounces@mit.edu Errors-To: kfw-bugs-bounces@mit.edu X-RT-Original-Encoding: us-ascii Content-Length: 1625 Hi Jeffrey, It is failed when cred.client is assigned to temp variable inside following function. krb5_copy_principal(context, creds.client, &data->princ). After this assignment there is NULL check, but it is failing before it self. I fixed this problem as following. Only one null check is missed. lib/krb5/ccache/cc_mslsa.c static krb5_error_code KRB5_CALLCONV krb5_lcc_resolve (krb5_context context, krb5_ccache *id, const char *residual){ ............... if (!MSCredToMITCred(msticket, msticket->DomainName, context, &creds)) retval = KRB5_FCC_INTERNAL; LsaFreeReturnBuffer(msticket); if(NULL == creds.client) { return KRB5_FCC_NOFILE;// please provide me correct error code. What I can return. } ................................... } This has been produced in windows xp sp2 /sp0 English if you logged in as Domain administrator as per my analysis. Please provide me why it is caused. One request I wanted VC++ solution files for building/ debugging libraries where can I get those. Regards, Eswar s **************************************************************************** **************************** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!