1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 22:58:30 +00:00

Pidfile: Treat a corrupted pidfile like a not existing pidfile

This commit is contained in:
Jens Steube 2018-11-14 09:32:06 +01:00
parent cbd1361a2b
commit 9afed4b88d
2 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,7 @@
## Improvements
##
- Startup: Show OpenCL runtime initialization message (per device)
- xxHash: Added support for using the version provided by the OS/distribution
##
@ -57,7 +58,7 @@
- Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
- Memory: Limit maximum host memory allocation depending on bitness
- Memory: Reduced default maximum bitmap size from 24 to 18 and give a notice to use --bitmap-max to restore
- Startup: Show OpenCL runtime initialization message (per device)
- Pidfile: Treat a corrupted pidfile like a not existing pidfile
- Tests: Added hash-mode 11700 (Streebog-256)
- Tests: Added hash-mode 11750 (HMAC-Streebog-256 (key = $pass), big-endian)
- Tests: Added hash-mode 11760 (HMAC-Streebog-256 (key = $salt), big-endian)

View File

@ -29,11 +29,11 @@ static int check_running_process (hashcat_ctx_t *hashcat_ctx)
if (nread != 1)
{
event_log_error (hashcat_ctx, "Cannot read %s", pidfile_filename);
//event_log_error (hashcat_ctx, "Cannot read %s", pidfile_filename);
hcfree (pd);
return -1;
return 0;
}
if (pd->pid)