mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix (srk induced) crash in new tftp_no_fail code.
This commit is contained in:
committed by
Simon Kelley
parent
78c6184752
commit
b4c0f092d8
@@ -655,7 +655,8 @@ int main (int argc, char **argv)
|
||||
_exit(0);
|
||||
}
|
||||
}
|
||||
closedir(dir);
|
||||
else
|
||||
closedir(dir);
|
||||
}
|
||||
|
||||
for (p = daemon->if_prefix; p; p = p->next)
|
||||
@@ -670,7 +671,8 @@ int main (int argc, char **argv)
|
||||
_exit(0);
|
||||
}
|
||||
}
|
||||
closedir(dir);
|
||||
else
|
||||
closedir(dir);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user