Fix 2001/ollinger - check args
This commit is contained in:
1 parent
8946cff4fa
commit
70cc096f6e
3 files changed
+5
-8
No files matched your search
@@ -11,6 +11,7 @@ char e[]="**3<HRZcir+3@OXakt;=GOXds*\?HRZcir*7HNZ`i19JS\\p*H[m1:CJSz*>H[`mr25\
|
||||
int main(int j,char *k[]) {
|
||||
int a,b,c,d,g,h,i=19;
|
||||
|
||||
if (j<2)exit(1);
|
||||
printf(" ");
|
||||
for(g=0[f=(char *)calloc(80+(h=atoi(1[k])),1)]=1; g<=h; g++) {
|
||||
if ((g>30)&&(f[i-2]+f[i-1]!=0)) i++;
|
||||
|
||||
@@ -1333,14 +1333,6 @@ set. In other words both have to be ASCII or EBCDIC - not one of each.
|
||||
|
||||
## 2001 ollinger
|
||||
|
||||
### STATUS: known bug - please help us fix
|
||||
### Source code: [2001/ollinger/ollinger.c](2001/ollinger/ollinger.c)
|
||||
### Information: [2001/ollinger/README.md](2001/ollinger/README.md0
|
||||
|
||||
This program will very likely crash or do something else without an arg.
|
||||
|
||||
If you want to try and fix this (mis)feature, you are welcome to try.
|
||||
|
||||
|
||||
### STATUS: INABIAF - please **DO NOT** fix
|
||||
### Source code: [2001/schweikh/schweikh.c](2001/schweikh/schweikh.c)
|
||||
|
||||
@@ -1830,6 +1830,10 @@ the paddles move even when holding down the movement keys.
|
||||
Cody also provided an alternate version which lets you use the arrow keys on
|
||||
your keyboard instead of the more awkward '`,`' and '`.`'.
|
||||
|
||||
## [2001/ollinger](2001/ollinger/ollinger.c) ([README.md](2001/ollinger/README.md))
|
||||
|
||||
Cody fixed to not crash if not enough args, exiting 1 instead.
|
||||
|
||||
## [2001/schweikh](2001/schweikh/schweikh.c) ([README.md](2001/schweikh/README.md]))
|
||||
|
||||
Cody fixed this to not crash if not enough args as this was not documented by
|
||||
|
||||
Reference in new issue
Block a user