1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 18:08:20 +00:00

Fix bug on hm_SYSFS_CPU_get_syspath_hwmon()

This commit is contained in:
Gabriele Gristina 2021-07-14 19:21:21 +02:00
parent 11295e4679
commit 80a671eab7

View File

@ -63,7 +63,7 @@ char *hm_SYSFS_CPU_get_syspath_hwmon ()
if (hc_fopen_raw (&fp, path, "rb") == false) continue; 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)); const size_t line_len = fgetl (&fp, buf, sizeof (buf));