Parameter: Detect and error when users try to use a non-digit where a digit is expected

Fixes https://github.com/hashcat/hashcat/issues/1189
This commit is contained in:
jsteube
2017-03-19 15:11:41 +01:00
parent d78a58414c
commit 378f852cec
4 changed files with 75 additions and 3 deletions
+3
View File
@@ -12,6 +12,7 @@
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <ctype.h>
bool overflow_check_u32_add (const u32 a, const u32 b);
bool overflow_check_u32_mul (const u32 a, const u32 b);
@@ -53,4 +54,6 @@ bool hc_path_read (const char *path);
bool hc_path_write (const char *path);
bool hc_path_create (const char *path);
bool hc_string_is_digit (const char *s);
#endif // _SHARED_H