From owner-freebsd-bugs Fri Sep 18 13:00:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20329 for freebsd-bugs-outgoing; Fri, 18 Sep 1998 13:00:39 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20300 for ; Fri, 18 Sep 1998 13:00:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA01154; Fri, 18 Sep 1998 13:00:01 -0700 (PDT) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17486 for ; Fri, 18 Sep 1998 12:50:53 -0700 (PDT) (envelope-from dougdougdougdoug@dt053nb4.san.rr.com) Received: (from root@localhost) by dt053nb4.san.rr.com (8.8.8/8.8.8) id MAA01993; Fri, 18 Sep 1998 12:50:28 -0700 (PDT) (envelope-from dougdougdougdoug) Message-Id: <199809181950.MAA01993@dt053nb4.san.rr.com> Date: Fri, 18 Sep 1998 12:50:28 -0700 (PDT) From: Studded@dal.net Reply-To: Studded@dal.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7979: Problems in -Stable login.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7979 >Category: bin >Synopsis: Typo and one odd thing in -Stable login.c >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 18 13:00:00 PDT 1998 >Last-Modified: >Originator: Doug >Organization: AAAG >Release: FreeBSD 2.2.7-STABLE-0918 i386 >Environment: -Stable system >Description: There is a typo in login.c,v 1.12.2.12, the most recent -Stable version (approvp for approvep). Also, a change from -Current re AUTH_NONE (which isn't defined in any include file which is included in login.c) was not included. >How-To-Repeat: DNA >Fix: Apply the following patch. diff -u -r1.12.2.12 -r1.38 --- login.c 1998/08/31 03:27:28 1.12.2.12 +++ login.c 1998/08/17 03:25:07 1.38 @@ -409,7 +414,7 @@ } if (!rval) { - char * approvp; + char * approvep; /* * If authentication succeeds, run any approval @@ -427,7 +432,7 @@ /* * See what the authorize program says */ - if (r != AUTH_NONE) { + if (r != 0) { rval = 0; if (!rootok && (r & AUTH_ROOTOKAY)) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message