From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 2 20:30:07 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3436416A46C for ; Sat, 2 Jun 2007 20:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id E6AFE13C447 for ; Sat, 2 Jun 2007 20:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l52KU6fd055742 for ; Sat, 2 Jun 2007 20:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l52KU6io055737; Sat, 2 Jun 2007 20:30:06 GMT (envelope-from gnats) Resent-Date: Sat, 2 Jun 2007 20:30:06 GMT Resent-Message-Id: <200706022030.l52KU6io055737@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eirik A. Nygaard" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E209916A421 for ; Sat, 2 Jun 2007 20:27:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id D2F9B13C45D for ; Sat, 2 Jun 2007 20:27:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l52KRDJB015346 for ; Sat, 2 Jun 2007 20:27:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l52KRD1C015345; Sat, 2 Jun 2007 20:27:13 GMT (envelope-from nobody) Message-Id: <200706022027.l52KRD1C015345@www.freebsd.org> Date: Sat, 2 Jun 2007 20:27:13 GMT From: "Eirik A. Nygaard" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/113266: Missing handling of mech_type in gss_init_sec_context being GSS_C_NO_OID X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 20:30:07 -0000 >Number: 113266 >Category: misc >Synopsis: Missing handling of mech_type in gss_init_sec_context being GSS_C_NO_OID >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 02 20:30:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Eirik A. Nygaard >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD eirik 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue May 8 12:33:42 CEST 2007 eirik@:/usr/obj/home/eirik/FreeBSD/src/sys/EIRIK i386 >Description: When passing GSS_C_NO_OID to gss_init_sec_context as the mech_type argument libgssapi will segfault in _gss_oid_equal(gss_utils.c:39). The manpage states that: mech_type Object ID of desired mechanism. Supply GSS_C_NO_OID to obtain an implementation specific default So sending in GSS_C_NO_OID as mech_type should be allowed. >How-To-Repeat: Issue a gss_init_sec_context() call with the mech_type argument being GSS_C_NO_OID. Then wait for the segfault. >Fix: Patch can be found at: http://www.pvv.ntnu.no/~eirikald/patches/gssapi_mech_type_NO_OID.patch >Release-Note: >Audit-Trail: >Unformatted: