1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00

Fix some null-pointer dereferences

This commit is contained in:
jsteube 2016-09-21 16:45:50 +02:00
parent 854229542e
commit e5d5629a02

View File

@ -4473,7 +4473,7 @@ int main (int argc, char **argv)
// induction directory
if (induction_dir == NULL)
if (induction_dir != NULL)
{
if (rmdir (induction_directory) == -1)
{
@ -4498,7 +4498,7 @@ int main (int argc, char **argv)
// outfile-check directory
if (outfile_check_dir == NULL)
if (outfile_check_dir != NULL)
{
if (rmdir (outfile_check_directory) == -1)
{