From owner-cvs-src@FreeBSD.ORG Thu Jun 14 19:58:25 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3021116A41F; Thu, 14 Jun 2007 19:58:25 +0000 (UTC) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 07EE813C465; Thu, 14 Jun 2007 19:58:25 +0000 (UTC) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5EJwOYZ077108; Thu, 14 Jun 2007 19:58:24 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5EJwOb3077098; Thu, 14 Jun 2007 19:58:24 GMT (envelope-from harti) Message-Id: <200706141958.l5EJwOb3077098@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 14 Jun 2007 19:58:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libgssapi gss_init_sec_context.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 19:58:25 -0000 harti 2007-06-14 19:58:24 UTC FreeBSD src repository Modified files: lib/libgssapi gss_init_sec_context.c Log: According to the documentation mech_type for gss_init_sec_context() may be passed as GSS_C_NO_OID in which case a default mech should be used. This case was not handled and leads to core dumps when using nss_ldap. Now use the first mech in this case. When there is no mechanism available return an error (this part is taken from the PR). PR: 113266 Submitted by: Eirik Nygaard (partly) Revision Changes Path 1.3 +9 -1 src/lib/libgssapi/gss_init_sec_context.c