🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Scott Schwartz Sun, 20 Aug 1989 01:45
core dump on eof?
#481
Author: Scott Schwartz
Date: Sun, 20 Aug 1989 01:45
54 lines
2229 bytes


In parse.y, around line 435 and before: no check is made to see if 
readline returns EOF, which it will when you type ctrl-D to exit.  The
result is that the strlen on line 435 induces a segmentation violation
and core dump.

Also, the first character typed after the prompt is overwritten by
a backspace and then character is retyped:  why???

Script started on Sat Aug 19 21:39:43 1989
psuvax1$ sset				<---- Why the ctrl-H???
EUID=991
UID=991
HISTSIZE=500
BASH_VERSION=1.02
PWD=/pub/src/gnu/bash-1.02
MAILPATH=/usr/spool/mail/schwartz
MAILCHECK=60
IFS= 	

ARCH=sun4
BASH=/bin/sh
CDPATH=.:..:~
DISPLAY=psusun03.psu.edu:0.0
HOME=/home/psuvax1/schwartz
PATH=~schwartz/bin:~schwartz/bin/%sun4:.:/usr/new/bin:/usr/new:/usr/local:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/bin/X11:/usr/hosts:/usr/local/etc:/usr/etc:/etc:/usr/gnu/bin:/usr/ibm
SHELL=/pub/gnu/bin/bash
SHLVL=3
TERM=xterm
USER=schwartz
TERMCAP=vs|xterm|vs100:cr=^M:do=^J:nl=^J:bl=^G:le=^H:ho=\E[H:co#80:li#65:cl=\E[H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:md=\E[1m:mr=\E[7m:me=\E[m:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sf=\n:sr=\EM:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:MT:ks=\E[?1h\E=:ke=\E[?1l\E>:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:rs=\E[r\E<\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:xn:AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:ti=\E7\E[?47h:te=\E[2J\E[?47l\E8:hs




:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:
WINDOWID=8388623
PS1=psuvax1$ 
PS2=psuvax1> 
HISTFILE=/dev/null
PAGER=more
MANPATH=/usr/local/man:/usr/share/man:/usr/man
LD_LIBRARY_PATH=.
PRINTER=lwcac
psuvax1$ bbash
psuvax1$ ^D
Segmentation fault (core dumped)
psuvax1$ 

script done on Sat Aug 19 21:39:57 1989

-- Scott 	<schwartz@shire.cs.psu.edu>
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