home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!darwin.sura.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!yorkohm!nigelm
- From: nigelm@ohm.york.ac.uk (Nigel Metheringham)
- Newsgroups: comp.mail.elm
- Subject: Re: Problems in elm2.4 PL20
- Message-ID: <1993Jan8.153313.12361@ohm.york.ac.uk>
- Date: 8 Jan 93 15:33:13 GMT
- References: <1993Jan6.162803.25156@coplex.com> <C0GKop.DwL@ccu.umanitoba.ca> <C0I6H3.Cu6@dutiws.twi.tudelft.nl>
- Organization: Electronics Department, University of York, UK
- Lines: 45
-
- In <C0I6H3.Cu6@dutiws.twi.tudelft.nl> kooper@dutiws.twi.tudelft.nl (Rob Kooper) writes:
-
- >In article <C0GKop.DwL@ccu.umanitoba.ca> rahardj@ccu.umanitoba.ca (Budi Rahardjo) writes:
- >>In <1993Jan6.162803.25156@coplex.com> dean@coplex.com (Dean Brooks) writes:
- >>
- >>>2. Do the following commands exactly as they are shown:
- >>
- >>> a. Enter elm by typing "elm" at the UNIX prompt.
- >>> b. Hit 'a' to enter the alias screen.
- >>> c. Hit 'x' to immediately leave the alias screen.
- >>> d. Press 'RETURN' to read the highlighted message.
- >>> e. Press 'i' to return to the main index screen.
- >>> f. Press 'x' to exit elm.
- >>
- >>> When I do these exact commands in this order, I get:
- >>> Bus Error signal!
- >>> Emergency exit taken! All temp files intact!
- >>
- >>Hmm... I tried that and everything was okay. No error, etc.
- >>Sun OS 4.1.2, Sun sparcstation 2, Sun C compiler.
-
- >Perhaps we have a different setup than you but when I tried it I got the same
- >error he describes. I tried it also on a SPARC (number uknown), SUN OS 4.1.2
- >and default C compiler. Strange.
-
- Its an unitialised pointer which is then used as the target of a
- sprintf. Whether it works depends on how your system intialises (or
- not) automatic variables, and possibly what was on the stack just
- before the function was called.
-
- The problem is with the exit_prog() function in exit.c .
- The fix is to change the
- char * msg
- to something like
- char msg[STRING]
-
- I gave a patch to Syd earlier in the week, I assume he will issue an
- official fix soon.
-
- Nigel.
-
- --
- # Nigel Metheringham -- (NeXT) EMail: nigelm@ohm.york.ac.uk #
- # System Administrator, Electronics Dept, University of York #
- # York YO1 5DD. Phone: +44 904 432374, Fax: +44 904 432335 #
-