home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
PRE412.ZIP
/
HACKFIX.MOD
< prev
next >
Wrap
Text File
|
1990-07-19
|
2KB
|
59 lines
Zimmion #1 @3131
Mon Jul 16 10:46:44 1990
/* The Fixer mod
Zimmod "7"
Fix a BAD bug in wwiv
One post on the natonal Cosysops net really ticked alot of us off.
It's a text file that told you how to crash wwiv. This mod, or
replacement to a void will VERY easyly fix it. There are two ways
to fix this bug.
1) Register DSZ
2) Install This mod
Now, considering that DSZ cost less to register than wwiv, and if
you are not registerd, think, don't spend $50+ insted of $20
(Although you really should support Wayne!).
Ok On with the Mod/Fix
*/
In XFER.C go to int okfn(char *s) replace or add the void (or the
added code.
int okfn(char *s)
{
int i,l,ok;
unsigned char ch;
ok=1;
l=strlen(s);
for (i=0; i<l; i++) {
ch=s[i];
if ((ch==' ') || (ch=='/') || (ch=='\\') || (ch==':') ||
(ch=='>') || (ch=='<') || (ch=='|') || (ch=='+') ||
(ch==',') || (ch==';') || (ch>126) || (ch=='*') || (ch=='?'))
/* ^^ ADDED BUG FIX ^^ */
ok=0;
}
return(ok);
}
/* This is the compleat mod. It works fine. Thisway you can get a
new vevrsion of DSZ and it don't kill your system.
Please, if you use this mod, e-mail 1@3131 or call Instant Insanity
at 301-983-2911. I have auto-sysop valadation. THis mod SHOULDN'T
kill your system, or burn your house down, but if it that happends,
i really can't help. It works FINE On wwiv 4.11 and 4.10, and even
on a clean copy (call my wwiv system to see what i mean, i call it
WWIV 4.11z)
Ok all Zimmion
7-16-90
1@3131