Date: Tue, 27 Jan 1998 13:57:04 -0700 (MST) From: gnat@prometheus.frii.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/5585: _exit(1) in rshd.c, instead of exit(1) ? Message-ID: <199801272057.NAA24796@prometheus.frii.com>
next in thread | raw e-mail | index | archive | help
>Number: 5585 >Category: bin >Synopsis: _exit(1) in rshd.c, instead of exit(1) ? >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: Tue Jan 27 13:00:02 PST 1998 >Last-Modified: >Originator: Nathan Torkington >Organization: Front Range Internet, Inc. >Release: FreeBSD 2.2.5-STABLE i386 >Environment: 2.2.5-STABLE as of a month or so ago (yeah yeah, I know). >Description: Looking through the source to rshd.c, I see that if getpeername() fails, the error is logged and _exit() is called. Why is this? It looks to me like exit() is called everywhere else. >How-To-Repeat: N/A. >Fix: Change _exit(1) to exit(1) on line 172 of libexec/rshd/rshd.c >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801272057.NAA24796>