scsh-0.5/scsh
shivers db69cd677b Some functions that were passed string "out" paramters (char**)'s were
neglecting to assign them in error cases. We'd return from the C function
into the cig C stub with random garbage still in these pointers. The
string rep converters would then treat this garbage as a real pointer to
be copied into malloc'd storage, and havoc would result.

I fixed the code to assign 0 to the pointers in error cases. I should fix
cig to pre-initialise out parameters. The only real problem code was in
userinfo1.c, but I scanned all the sources, and fixed a few suspicious cases
here and there as well.
1997-04-04 20:49:55 +00:00
..
aix Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
bsd Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
cxux Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
generic Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
hpux Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
irix Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
linux Linux-specific support. 1997-02-26 22:18:29 +00:00
next Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
regexp updated regexp 1996-09-24 01:29:51 +00:00
solaris solaris 2.5 tested 1997-03-09 02:37:06 +00:00
sunos Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
ultrix Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
.gitignore added scsh/scsh.vm to the ignore list 1996-11-11 01:10:38 +00:00
awk.scm jsc repotrted else spelled wrong 1996-10-10 23:10:07 +00:00
bdbmo.c *** empty log message *** 1995-10-14 03:34:21 +00:00
char-set.scm CHAR-SET-CONTAINS? had extra code to make sure it did not work when 1995-11-20 06:20:12 +00:00
cstuff.h *** empty log message *** 1995-10-14 03:34:21 +00:00
db.c *** empty log message *** 1995-10-14 03:34:21 +00:00
db.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
dbm.c *** empty log message *** 1995-10-14 03:34:21 +00:00
dbm.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
dbm1.c *** empty log message *** 1995-10-14 03:34:21 +00:00
defrec.scm Fixed a minor doc bug. 1996-09-19 22:20:37 +00:00
dirstuff1.c Some functions that were passed string "out" paramters (char**)'s were 1997-04-04 20:49:55 +00:00
dirstuff1.h Added a whole bunch of .h files describing the module structure of the C 1995-10-22 12:34:53 +00:00
ekko.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
endian.scm.in nearly final 0.4.0 hax 1995-10-31 23:41:17 +00:00
enumconst.scm Truth-in-advertising documentation: confession is good for the soul. 1996-11-09 23:13:35 +00:00
fdports.h *** empty log message *** 1995-10-14 03:34:21 +00:00
fdports.scm Hacked I/O system so that ports set/clear their 1996-09-12 01:43:53 +00:00
fdports1.c Added #ifdef linux conditionalisation to the linux-specific fixup code. 1997-02-27 04:49:28 +00:00
fdports1.h Hacked I/O system so that ports set/clear their 1996-09-12 01:43:53 +00:00
fileinfo.scm file-writeable => file-writable 1995-10-28 22:04:58 +00:00
filemtch.scm - Fixed errno-error calls to include the syscall's args. This should greatly 1995-10-21 12:07:25 +00:00
filesys.scm Hacked the system to use the new LET-OPT optional argument machinery, 1996-04-19 18:39:14 +00:00
flock.c Added a whole bunch of .h files describing the module structure of the C 1995-10-22 12:34:53 +00:00
flock.scm Changed OPEN/NONBLOCKING to OPEN/NON-BLOCKING and 1996-11-11 18:52:19 +00:00
flock1.c Added a whole bunch of .h files describing the module structure of the C 1995-10-22 12:34:53 +00:00
flock1.h Added a whole bunch of .h files describing the module structure of the C 1995-10-22 12:34:53 +00:00
fname.scm Hacked the system to use the new LET-OPT optional argument machinery, 1996-04-19 18:39:14 +00:00
fr.scm Fixed delimited readers -- there was confusion about what the handle-delimiter 1996-04-19 05:51:37 +00:00
glob.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
here.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
jcontrol.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
jcontrol1.c Hacked so that errno/intr error returns cause retries. 1996-08-24 07:36:50 +00:00
jcontrol2.c Moved set/get tty process group code to tty.scm. 1995-10-26 13:36:46 +00:00
jcontrol2.scm Hacked so that errno/intr error returns cause retries. 1996-08-24 07:36:50 +00:00
let-opt.scm New, improved machinery for handling optional args. 1996-04-19 18:55:31 +00:00
meta-arg.scm I changed the meta-arg parsers (C and Scheme) so that newline *always* 1996-08-29 08:35:25 +00:00
minor-version-number updated for next minor release 1996-11-10 20:51:15 +00:00
ndbm.c *** empty log message *** 1995-10-14 03:34:21 +00:00
ndbm.scm - Fixed errno-error calls to include the syscall's args. This should greatly 1995-10-21 12:07:25 +00:00
ndbm1.c *** empty log message *** 1995-10-14 03:34:21 +00:00
ndbmo.c *** empty log message *** 1995-10-14 03:34:21 +00:00
network.c even more 0.4.0 hacks 1995-10-31 23:16:31 +00:00
network.scm host-info bug 1996-12-02 22:18:25 +00:00
network1.c Some functions that were passed string "out" paramters (char**)'s were 1997-04-04 20:49:55 +00:00
network1.h Added a whole bunch of .h files describing the module structure of the C 1995-10-22 12:34:53 +00:00
newports.scm Hacked I/O system so that ports set/clear their 1996-09-12 01:43:53 +00:00
nextbs.c *** empty log message *** 1995-10-14 03:34:21 +00:00
nt2.c *** empty log message *** 1995-10-14 03:34:21 +00:00
oldfr.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
oldhere.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
oldtop.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
procobj.scm Early autoreaping now done via SIGCHLD signal handler. 1997-03-09 07:28:20 +00:00
pty.scm Added SET-CURRENT-INPUT-PORT! and friends. 1995-10-28 22:12:17 +00:00
putenv.c Fixed error case + minor cleanup. 1995-10-26 13:36:23 +00:00
rdelim.c Added native-code support for SKIP-CHAR-SET. 1995-11-20 04:15:04 +00:00
rdelim.scm Hacked so that errno/intr error returns cause retries. 1996-08-24 07:36:50 +00:00
re.c Had to shuffle packages due to broken package dependencies. 1997-02-27 04:50:57 +00:00
re.scm Changed regexp-substring so that unmatched submatches return #f instead of 1997-03-28 20:55:23 +00:00
re1.c Upgraded regexp system. 1997-02-19 23:23:48 +00:00
re1.h Had to shuffle packages due to broken package dependencies. 1997-02-27 04:50:57 +00:00
rw.scm Had to shuffle packages due to broken package dependencies. 1997-02-27 04:50:57 +00:00
scsh-condition.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
scsh-interfaces.scm Rewrote SLEEP (and added SLEEP-UNTIL) so that it doesn't hang up signal 1997-03-09 07:22:41 +00:00
scsh-package.scm Rewrote SLEEP (and added SLEEP-UNTIL) so that it doesn't hang up signal 1997-03-09 07:22:41 +00:00
scsh-read.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
scsh-tramp.c *** empty log message *** 1995-10-14 03:34:21 +00:00
scsh-version.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
scsh.scm Had to shuffle packages due to broken package dependencies. 1997-02-27 04:50:57 +00:00
scsh_aux.h Sig-handler support 1996-09-12 04:34:28 +00:00
select.c Completely rewrote the interface. 1995-10-26 13:48:14 +00:00
select.scm Time args to SELECT and SET-FILE-TIMES can now be reals. 1995-10-28 22:07:16 +00:00
select1.c Trivial documentation addition. 1996-08-24 07:52:41 +00:00
select1.h Completely rewrote the interface. 1995-10-26 13:48:14 +00:00
sighandlers.c Derived files -- why are these stored in CVS? 1996-09-12 04:48:35 +00:00
sighandlers.scm Fixed an arity bug in %set-unix-signal-handler's call to 1997-03-10 23:46:42 +00:00
sighandlers1.c Interrupt system fixed up and installed. 1996-11-10 13:58:46 +00:00
sighandlers1.h Sig-handler support 1996-09-12 04:34:28 +00:00
signals1.h Interrupt system fixed up and installed. 1996-11-10 13:58:46 +00:00
sleep1.c Rewrote SLEEP (and added SLEEP-UNTIL) so that it doesn't hang up signal 1997-03-09 07:22:41 +00:00
startup.scm Startup and top changed so that -e entry points get the whole command line, 1996-10-31 20:18:11 +00:00
static.scm.in spelling error 1997-02-21 08:51:06 +00:00
stringcoll.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
syntax-helpers.scm Hacked the system to use the new LET-OPT optional argument machinery, 1996-04-19 18:39:14 +00:00
syntax.scm *** empty log message *** 1995-10-14 03:34:21 +00:00
syscalls.c Rewrote SLEEP (and added SLEEP-UNTIL) so that it doesn't hang up signal 1997-03-09 07:22:41 +00:00
syscalls.scm Fixed typo bug in set-file-group. 1997-04-02 20:12:33 +00:00
syscalls1.c Some functions that were passed string "out" paramters (char**)'s were 1997-04-04 20:49:55 +00:00
syscalls1.h Added a whole bunch of .h files describing the module structure of the C 1995-10-22 12:34:53 +00:00
time.c *** empty log message *** 1995-10-14 03:34:21 +00:00
time.scm Retry syscalls when interrupted. 1996-08-24 08:52:34 +00:00
time1.c minor cleanup 1995-10-26 13:36:06 +00:00
time1.h *** empty log message *** 1995-10-14 03:34:21 +00:00
top.scm -s<num> is now -sfd <num> -- more consistent with general switch design. 1996-11-11 19:21:25 +00:00
tty.c Added ctermid, istty, & ttyname -- we are now 100% Posix. 1996-09-12 20:17:10 +00:00
tty.scm Added ctermid, istty, & ttyname -- we are now 100% Posix. 1996-09-12 20:17:10 +00:00
tty1.c Removed debugging msg. -Olin 1996-10-16 17:09:56 +00:00
tty1.h Added ctermid, istty, & ttyname -- we are now 100% Posix. 1996-09-12 20:17:10 +00:00
userinfo1.c Some functions that were passed string "out" paramters (char**)'s were 1997-04-04 20:49:55 +00:00
userinfo1.h Added a whole bunch of .h files describing the module structure of the C 1995-10-22 12:34:53 +00:00
utilities.scm Added a few bits. 1997-02-19 23:29:41 +00:00