🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6986

Re: ?? Bug In SKSH ??????

#6986
From: stenkvist
Date: Sun, 25 Nov 1990 14:21
48 lines
2471 bytes
Hi

After some testing I'm quit sure about these B*GS in SKSH.

1. If address 0 keeps a value other than 0 (when startinh SKSH) 
and  especially if the value can be interpreted as string such as
"gdos" (this is the case with some of the A590 ROM:s such as mine
)  the  PATH function will NOT work.  Also if you try to dir (I'm
not  sure  about  ls ) you will recieve a visit from from our god
old G*RU.

2.   Place  some  value  in address 0 such as $47,$27,$52,$27.Now
type  echo $IBM ( or some other nonexisting variable name ).  The
text  GURU  will appear. A null pointer is interpreted as a
four  character  string.   Since Exec-base usualy starts with $00
the string will not be longer than 4 bytes ( but since 68000 only
cares  about  3 bytes in the address you actually can change this
without GURUing ).

This may not seem so alarming since this is all reading of
address 0 but...

3.   While having some non null value at address 0 type a start
of a filename that exists in the path. Use name completion (tab)
to fill in name. SKSH now owerwrite address 0, Urrrghhh.

The easiest way to see this is using metascope's memory-window
and poking around. ( I used some simple hardware to detect reads 
and writes of address 0.) . SKSH is by no means the only program 
that reference address 0, there seems to be a address-0-read 
when pushing a key.


At last, I wrote an AREXX program to compile the current file in
CED with Benchmark Modula-2 by ADDRESS'ing SKSH and sending the
command to its AREXX-port. This script always works one time but
not more. The second time it freeze CED and REXX and I must
reboot. Is this something you've noticed ?

I hope those observations I've made can make a good product even 
better. Thank you for supplying it at the first time.



Anders Stenkvist
Lm ERICSSONS V. 3
S-126 37  HAGERSTEN
Tel. +08-454079
Technical Details
Message-ID: <009403F2.00226480@lne.kth.se>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!kth.se!news
References: <0093FFDD.98022880@lne.kth.se>,<11640027@hpfcdc.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!kth.se!news
From: stenkvist@lne.kth.se
Newsgroups: comp.sys.amiga.tech
Subject: Re: ?? Bug In SKSH ??????
Message-ID: <009403F2.00226480@lne.kth.se>
Date: 25 Nov 90 14:21:22 GMT
References: <0093FFDD.98022880@lne.kth.se>,<11640027@hpfcdc.HP.COM>
Sender: news@kth.se  (News Administrator)
Reply-To: stenkvist@lne.kth.se
Organization: KTH, Royal Institute of Technology, School of Electrical Engineering
Lines: 48