SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Index: dieharder/help.c
--- dieharder/help.c.orig
+++ dieharder/help.c
@@ -32,7 +32,7 @@ void help()
/* printf("OK, what is dtest_num = %u\n",dtest_num);*/
- if(dh_test_types[dtest_num]){
+ if(dtest_num >= 0 && dh_test_types[dtest_num]){
fprintf(stdout,"%s",dh_test_types[dtest_num]->description);
Exit(0);
} else {