mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-23 14:10:57 +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
|
// induction directory
|
||||||
|
|
||||||
if (induction_dir == NULL)
|
if (induction_dir != NULL)
|
||||||
{
|
{
|
||||||
if (rmdir (induction_directory) == -1)
|
if (rmdir (induction_directory) == -1)
|
||||||
{
|
{
|
||||||
@ -4498,7 +4498,7 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
// outfile-check directory
|
// outfile-check directory
|
||||||
|
|
||||||
if (outfile_check_dir == NULL)
|
if (outfile_check_dir != NULL)
|
||||||
{
|
{
|
||||||
if (rmdir (outfile_check_directory) == -1)
|
if (rmdir (outfile_check_directory) == -1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user