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:
parent
854229542e
commit
e5d5629a02
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user