Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Michael Meissner
Mon, 10 Jul 1989 13:06
Bug in bash 1.02
Author: Michael Meissner
Date: Mon, 10 Jul 1989 13:06
Date: Mon, 10 Jul 1989 13:06
11 lines
1097 bytes
1097 bytes
I just noticed a new tar (1.02) on prep.ai.mit.edu, and built it locally. It appears that this version of bash has a serious flaw in it. If you type ^D instead of exit or bye, bash will core dump. The reason is readline returns (char *)EOF on end of file (why not (char *)0, which is required to be supported, wheras (char *)-1 is not). The function yy_readline_get does a xrealloc on this pointer. -- Michael Meissner, Data General. Uucp: ...!mcnc!rti!xyzzy!meissner If compiles were much Internet: meissner@dg-rtp.DG.COM faster, when would we Old Internet: meissner%dg-rtp.DG.COM@relay.cs.net have time for netnews?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads