1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 13:40:56 +00:00

Merge pull request #2881 from matrix/ext_sysfs_cpu_fix

Fix bug on hm_SYSFS_CPU_get_syspath_hwmon()
This commit is contained in:
Jens Steube 2021-07-15 13:23:48 +02:00 committed by GitHub
commit 372ca6609f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ char *hm_SYSFS_CPU_get_syspath_hwmon ()
if (hc_fopen_raw (&fp, path, "rb") == false) continue;
char buf[16];
char buf[32] = { 0 };
const size_t line_len = fgetl (&fp, buf, sizeof (buf));