Article View: gnu.bash.bug
Article #350Trival bug in arg parsing
From: Simon E Spero
Date: Tue, 18 Jul 1989 07:59
Date: Tue, 18 Jul 1989 07:59
14 lines
936 bytes
936 bytes
In file shell.c, when bash is called with 'bash -c' argv[++arg_index] is dereferenced before being checked for existence. This causes a core dump if no arg follows. Simon -- ------------------------------------------------------------------------------ MAC-FREE | My Opinons are precisely that | "We Don't take no sh*t from a ZONE | No Liability accepted | machine"- Moontrap ------------------------------------------------------------------------------
Technical Details
Message-ID:
<ZMACX07.89Jul18085953@tsun7.doc.ic.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!icdoc!zmacx07Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!icdoc!zmacx07 From: zmacx07@doc.ic.ac.uk (Simon E Spero) Newsgroups: gnu.bash.bug Subject: Trival bug in arg parsing Message-ID: <ZMACX07.89Jul18085953@tsun7.doc.ic.ac.uk> Date: 18 Jul 89 07:59:53 GMT Sender: news@doc.ic.ac.uk Distribution: gnu Organization: The Society of the Department of Computing, Imperial College Lines: 14