🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #63

Re: rshd depends on risky assumption

#63
From: Karl Kleinpaste
Date: Wed, 23 Aug 1989 16:11
9 lines
733 bytes
gwyn@smoke.brl.mil writes:
   The 4.3BSD rshd (normally in its child branch) unconditionally
   closes an FD named "f" in the source code without checking whether
   f = 0, 1, or 2.

It doesn't have to do so.  `f' is passed into doit() from main() as a
constant 0.

--Karl
Technical Details
Message-ID: <KARL.89Aug23121144@triceratops.cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!triceratops.cis.ohio-state.edu!karl
References: <10803@smoke.BRL.MIL>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!triceratops.cis.ohio-state.edu!karl
From: karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste)
Newsgroups: comp.bugs.4bsd
Subject: Re: rshd depends on risky assumption
Message-ID: <KARL.89Aug23121144@triceratops.cis.ohio-state.edu>
Date: 23 Aug 89 16:11:44 GMT
References: <10803@smoke.BRL.MIL>
Sender: news@tut.cis.ohio-state.edu
Organization: OSU
Lines: 9