Fix 1992/buzzard.1 - arg check

This commit is contained in:
Cody Boone Ferguson committed 2023-10-30 06:34:57 -07:00
1 parent dcd0b102af
commit 102675d4dd
4 files changed
+5 -25

No files matched your search

-14
View File
@@ -1,9 +1,6 @@
# Most Obfuscated Algorithm
Sean Barrett\
Software Construction Company\
430 Southwest Parkway, #1906\
College Station, TX 77840\
US
@@ -14,17 +11,6 @@ make all
```
### Bugs and (Mis)features
The current status of this entry is:
```
STATUS: known bug - please help us fix
```
For more detailed information see [1992 buzzard.1 in bugs.md](/bugs.md#1992-buzzard.1).
## To use:
```sh
+1 -1
View File
@@ -1,7 +1,7 @@
#define A(c,a,b) t=b;t+=a;_(c)
#define B(b,a) P(u,a)t=0;t-=a;R t+=u;t+=1;t/=2;_(b)
#define b(x) x(g)
#define C ;main(argc,argv)char**argv;{for(;!w;){q=0;l
#define C ;main(argc,argv)char**argv;{if(argc<3)exit(1);for(;!w;){q=0;l
#define c(y) x
#define D(c,a,b) t=a;t/=b;_(c)
#define d(x) S(x,x,1)
-10
View File
@@ -688,16 +688,6 @@ possibility. Can you find out how?
# 1992
## 1992 buzzard.1
### STATUS: known bug - please help us fix
### Source code: [1992/buzzard.1/buzzard.1.c](1992/buzzard.1/buzzard.1.c)
### Information: [1992/buzzard.1/README.md](1992/buzzard.1/README.md)
This entry will crash without enough args (2).
If you want to try and fix this (mis)feature, you are welcome to try.
## 1992 kivinen
+4
View File
@@ -1131,6 +1131,10 @@ one must keep the `Y[strlen(Y)-1]='\0';` part and keep it there.
This is a complex change due to the way the program and Makefile generate
additional tools.
## [1992/buzzard.1](1992/buzzard.1/buzzard.1.c) ([README.md](1992/buzzard.1/README.md))
Cody added a check for the right number of args, exiting 1 if not enough (2)
used.
## [1992/gson](1992/gson/gson.c) ([README.md](1992/gson/README.md]))