diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -434,6 +434,7 @@ int main(int argc, char *argv[]) { unsigned char *secretkey = malloc(32); unsigned char *publickey = malloc(32); unsigned char *salt = malloc(32); + if (secretkey == NULL || publickey == NULL || salt == NULL) { printf("Malloc failed\n"); exitcode = 1; |